Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.19 KB

File metadata and controls

36 lines (31 loc) · 1.19 KB

Database-Management

Management DB based on user permissions set by the Admin user.

based on JavaScript with ejs,express,passport,http,router,MongoDB.

Deploying with Heroku
https://databasemanagement1.herokuapp.com/

installation guide :
1.git clone https://github.com/ShlomyYosef/Database-Management.git
2.cd to the new folder
3.npm install
4.npm start
5.go to localhost:8080
6. login as user to see clients list or login as Admin to add users.

Admin
username: Admin
password: admin

User
username: shlomka
password: 123

Admin:
● Show the existing Users ✅
● Add and remove Users✅

User :
● Show the existing clients ✅
● Add and remove clients✅
● Filter the clients (e.g. all the clients with the surname “Cohen”) ✅
● Input fields validated ✅
● When adding a new client, using IP API and store the geo data from it (city, country) https://ip-api.com/
● ID field validated according to Israeli ID validation guidelines ✅


*only authenticated Users can get access clients list.
*only authenticated Admin can get access Users list.