Skip to content

simple rest API created using node.js, mysql, express, jwt, bcrypt and passport

Notifications You must be signed in to change notification settings

mosesmuchemi/backend-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

simple rest API created using node.js, mysql, express, jwt, bcrypt and passport

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published