Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 432 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 432 Bytes

Users-Database

added some routes to the users data

#/user GET:Get list of all the users

#/user/{id}/edit Get: Get a user by id{}( user can edit their username if their password is verified)

#/user/id{} PATCH:Update a user by Id{} DELETE:Delete user by Id{}

#/adduser GET:get a form to addthe users detail

#/adduser/:id Post: add the user Data to Database

#/user/:id/deleteuser Get: get a form to fill the user details