Uses the Genius api to retrieve producer credits. Uses the spotify api to fetch information abount songs, artistes, and albums. This project uses Client Credentials flow to access the spotify web api.
Clone the repository
git clone https://github.com/foderking/WhoProduced_Backend.git
cd WhoProduced_Backendedit .env file and add credentials
CLIENT_ID = 'GBf4j8....'
CLIENT_SECRET = 'HW3v9....'
- A working shell
- Node.js
- Git
- A Spotify developer account
Install Yarn
npm install -g yarnInstall dependencies
yarnRun the server
yarn start
You should see this on the terminal
yarn run v1.22.11
$ node src/app.js
Listening on 8888You will need to register your app and get your own credentials from the Spotify for Developers Dashboard.
To do so, go to your Spotify for Developers Dashboard and create your application.
Once you have created your app, replace the client_id, redirect_uri and client_secret in the examples with the ones you get from My Applications.
Then, open http://localhost:8888 in a browser.

