This project is clone of music player app Spotify.In this project user can login with their spotify account and and access their like song, playlist and also can play song.
- React, Redux
- Html, Css
- Python Django
- Django Rest Framework
- Spotify Api
-
Frontend :- Go to spotify/ and run
npm install
And to src/ and create env.js file inside that write cliend id like thisconst client_id = "your spotify client id" export {client_id};
-
Backend :-
- Go to backend_server and creating virtual environment by
python -m venv env
- Now activate that environment by
./env/Scripts/activate
in windows and sourcevenv/bin/activate
- Now install libraries by
pip install -r requirements.txt
- Create .env in /backend folder and write these code :-
SECRET_KEY='your django secret key from settings.py file" CLIENT_ID="your spotify client id" CLIENT_SECRET="your spotify client secret"
- Go to backend_server and creating virtual environment by
-
Frontend :- Type
npm start
to react app -
Backend :- Type
python manage.py runserver
to start django server