Last active
December 9, 2022 19:08
-
-
Save Kumawatlalit912/b085dcd04a487d15cdcc013bb11124cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---first | |
dowload this npm install -g json-server | |
then | |
create fake data----> | |
{ | |
"users": [ | |
{ | |
"id": 1, | |
"name": "user1", | |
"email": "user1@testmail.com" | |
} | |
] | |
} | |
THEN | |
json-server --watch data.json | |
THEN OPEN YOUR POSTMAN AND DO YOUR TESTING | |
post get del put (using id etc http://localhost:3000/users/1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment