Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 515 Bytes

readme.md

File metadata and controls

28 lines (21 loc) · 515 Bytes

running the application:

  1. npm install
  2. npm run server

the database credentials on line 11 on index.js

working end points: POST/personnel/create -sample json data { "personnel_oname": "Moses", "personnel_fname": "Migwi", "personnel_phone": "0722730064", "personnel_password": "123456" }

POST/personnel/login -sample json data { "personnel_phone": "0722730064", "personnel_password": "123456" }

GET/tasks -returns all tasks in database GET/personnel -returns all personnel in database

database not public