This NodeJS application is paired with a React client hosted on Netlify and the code hosted on Github.
- NodeJS and NPM or Yarn
- Clone this project from GitHub to your local machine
- In the project directory, you can run:
yarn start
ornpm run start
. This command runs the app in development mode on your local machine. - Open http://localhost:3030 to test it.
The API has the following methods:
- GET /auth : This endpoint returns a Deezer token that allows user's to authenticate and access protected routes on Deezer's API.
- GET /search: This endpoint allows a user to search through Deezer's catalogue
- GET /user: This endpoint returns the user's ID that is used to create a playlist on the user's deezer account.
- GET /createplaylist: This endpoint accepts the user's token, playlist name and songs and creates a playlist on the user's deezer account
This project is deployed on Heroku on this link.