Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work Flow Option #3

Open
gaoqi7 opened this issue Dec 3, 2018 · 0 comments
Open

Work Flow Option #3

gaoqi7 opened this issue Dec 3, 2018 · 0 comments
Labels
good first issue Good for newcomers

Comments

@gaoqi7
Copy link
Collaborator

gaoqi7 commented Dec 3, 2018

After reading some Spotify API document, I want to share my idea about the Hype.

Work flow OR Running logic

hype_workflow

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
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 ?
@gaoqi7 gaoqi7 added the good first issue Good for newcomers label Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant