2023-03-22 & 2023-03-24 tasks
🎯 Goals:
Code for deleting users was already given._
-
Task 1
Do not allow admin to delete his own account.
-
Task 2
Add functionality to edit users, do not allow duplicate emails.
-
Task 3
User should not be able to rate pictures more than once. If picture was already rated, show user's rating instead of rate form.
-
Task 4
Sort gallery pictures from best total rating to least.
Must have Node.js installed
-
Clone the repo
-
Go into project directory and Install NPM packages
npm install
-
use application:
npm start
-
default login: keistas@vardas.lt, 1234