Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 644 Bytes

File metadata and controls

17 lines (14 loc) · 644 Bytes

ChatAuthApp

Creating Users from back-end with POST, PUT, DELETE, GET requests

Steps to Run the app

1.Download Repo
2.Install Node.JS
3.Install Dependencies - NPM Install

Run NPM START

and browse https://localhost:1234

To get data from DB --> get('/', controller.findAll); To get data specifically from one userID --> get('/:UserId', controller.getUserData); To enter data to DB --> post('/post', controller.postUserData); To edit data to DB --> put('/:UserId/put', controller.putUserData); To drop the data using UserId --> delete('/:UserId/delete', controller.deleteUserData);