-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
39 lines (27 loc) · 1012 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
**Check out the Demo-for-App video for a demo of the app.**
-------------------------------------------------------------
To start the server, go to terminal and run :
npm start
The data is stored in MongoDB database.
To test the server , go to
http://localhost:4242/
To see the users, go to
http://localhost:4242/users
All the operations such as get , get by id , post and delete
works in this URL http://localhost:4242/users
Download Postman, test all the routes
using the url told above
**How to Use Postman**
Url Used : http://localhost:4242/users
* To get all users,
Select get, type the url, Click send
* To get a single user,
Copy the id of that user, paste it after url, Click send.
* To add a new user,
Select post, go to body section, type in the details of user,
in the json format, click send. A confirmation
message will be displayed
* To delete a user,
Select delete,Copy the id of the user to be deleted,
paste it after url, click send.A confirmation
message will be displayed.