Removed unneeded user model dependency in follows resource
Removed unneeded music model checkpoint in music resource: is already done in the model
Find method added to the helpers module
Copy and paste is evil
Fixed bug where the user was set from an "from" unexisting parameter
Renamed the find helper method to where, so it's
more consistent with a real ORM
New "run" command in makefile, to easily start the app
New find user method, to filter user's follows
New find user method, to filter user's listened tracks
- Renamed findUser method to findUserFrom
- New findUserTo method
- New userFollows method
- New userMusic method, to return the music listened by a user
- Fixed copy/paste mistakes
New recommendations resource:
GET /recommendations/:user endpoint
Returns a list of music Ids