The web service is a radio project called “ListenUp”.
clone the Listen up the repo and install dependencies using
yarn install
or
npm install
cd into the project folder and run
yarn start
or
npm start
Lists all users who ever played a track and gives a detailed list of tracks played by a specific user (tracks are represented by a track ID).
http://localhost:3001/api/plays
Returns a list of users with links to their respective user details:
http://localhost:3001/api/friends
Return detailed information about a user, including the number of unique tracks the user has played.
http://localhost:3001/api/users/:username
You can check endpoints using Jest
yarn test
or
npm run test
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.