Skip to content

Nikcharn/simple-mock-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-mock-server

Getting started

  • Go to the folder with project
  • Install npm packages npm install
  • Run the script npm run mock-server

Getting started

GET http:\localhost:3000\api\books

Result:

{ "id": 1, "name": "Romeo and Juliet", "author": "William Shakespeare", "genre": "Love story" }

PUT http:\localhost:3000\api\book

Body:

{ "name": "Romeo and Juliet Rus", "author": "William Shakespeare", "genre": "Love story" }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published