This is the backend for the my project playListify
The code is written with reference to the Spotify Web Api. I am just making requests to the required endpoints and setting headers and all the parameters needed to get specific data as instructed in the API documentation. No external library is used to work with API, I have just followed the documentaion.
You need to have Node installed on your machine.
1. Clone the github respository and install all the dependencies
git clone https://github.com/chetas411/playListify-Backend.git
cd playlistify-Backend
npm install
2. Create .env file by following the .env.example file and add all the credential values obtained from Spotify
3. Run auth_url_script.js file for generating the auth url to be used in frontend
node auth_url_script
4. Now run the server by npm start