An MVP designed to recommend music to users based on the music they have listened to in the past, and music that the people they follow have listened to.
- Clone this repo to your local machine
$ mongod
to start MongoDB- Navigate to the submission directory
$ npm install
to install all project dependencies$ npm run start
to startup the server and seed it with music and users- in a new terminal window,
$ npm run test
to send follow and listen requests to the server, as well as get music recommendations for user a.
Note: The server is re-seeded every time $ npm run start
is executed. Running $ npm run test
multiple times without restarting the server, will cause users to listen to songs multiple times.