/nodejs-user-management-rating

NodeJS, JavaScript, Express.js, MongoDB, JWT, REST API

Primary LanguageJavaScript

nodejs-user-management.

4. REST.

4.4 User management: rating.

Task.

  1. Add endpoint for voting for users profiles. Only registered users can vote. Votes can be positive (+1) and negative (-1). Users can change or withdraw votes, but can not vote twice for the same profile. Users can not vote for themselves. Users can vote one time per hour.
  2. User profile should have rating as votes sum.