Epiphamatic / Epiphamatic/Project-2

Work Flow Option

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

After reading some Spotify API document, I want to share my idea about the Hype.
### Work flow OR Running logic
![hype_workflow](https://user-images.githubusercontent.com/8433809/49400615-9e6c7e00-f6f9-11e8-85c3-c0ecf031093d.png)
##### Explaining
* `Host >login page > Hype Backend > Spotify Server`
1. Login our entry page(localhost:3000/login) to grant our app permission to connect Spotify Server
2. Host tell Hype server the playlist name, then Hype server will get the music list.
* `Spotify Server > Hype Backend Server`
1. After connect successfully, we can get the host’s info (playlist and play state)
2. Store the playlist and play state in our server
* `Guest > Guest Page > Hype Backend Server > Guest Page`
1. When guest open Guest page[get()], server response back the playlist and play state.
* `Hype Backend Server > Spotify Server`
1. When server detect the playlist is changed, then update the playlist through Spotify API
* Every route listing above is doable(Codeable???). They are supported by Spotify API.
### User Interface
![hype_ui](https://user-images.githubusercontent.com/8433809/49401383-e096bf00-f6fb-11e8-8d72-19541c8aeb73.png)
This is done by Figma. It is just a sketch. Bear with my poor designing :)
### Problem
* Do we need database?
* Shall we use the starter file ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.