- Go to the folder with project
- Install npm packages
npm install
- Run the script
npm run mock-server
{ "id": 1, "name": "Romeo and Juliet", "author": "William Shakespeare", "genre": "Love story" }
{ "name": "Romeo and Juliet Rus", "author": "William Shakespeare", "genre": "Love story" }