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

Spike: Redesign API and UI flow #53

Open
RyanRussell00 opened this issue Aug 4, 2021 · 0 comments
Open

Spike: Redesign API and UI flow #53

RyanRussell00 opened this issue Aug 4, 2021 · 0 comments

Comments

@RyanRussell00
Copy link
Owner

Currently the API is serving all the React files from the build folder.
When the user first loads the site they see the React Homepage, then they log in, and when the login redirects, the page is from the api's static assets (build) folder.

Instead of doing this, we should try to only use the API for API requests and not serving pages. We can start this by having the Spotify redirect to the home page and handle the cookie logic right there.

This is gonna need some more research into how Express, Node, and React work together and will need a lot of playing around with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant