Django React Application with Spotify API
-
User can authenticate with our application to access their data with a certain scope
-
After the user has logged in and granted authorization, we obtain the access/refresh tokens
-
User access token is used to make requests to the Spotify API
-
After one's access token has expired, we request a new one using the refresh token (stays constant) to continue interacting with the Spotify API
https://house-party-spotify.herokuapp.com/ (Heroku license expried)
pip install -r requirements.txtTo start the web server you need to run the following sequence of commands.
Run the django web server.
python manage.py runserverFirst cd into the frontend folder.
cd frontendNext install all dependicies.
npm iRun the production compile script
npm run buildor for development:
npm run devnpm run dev