This project is a Simple JSON Server without need implement back-end server, only using NodeJS and JSON Server (NodeJS module)
- NodeJS >= v14.18.0
- NPM >= v6.14.15
- JSON Server (NodeJS Module) >= v0.17.0
- Visual Studio Code >= V1.63.2 (or other code editor)
You only need:
- a) Clone this repo or b) Create this project
- Run NPM script
- Test Simple JSON Server
🔳 terminal/cmd
git clone https://github.com/Webvelopers/simple-json-server.git
cd simple-json-server
npm update
🔳 terminal/cmd
npm install json-server
🔳 terminal/cmd
code package.json
{
"scripts": {
"start": "json-server --watch db.json"
}
}
🔳 terminal/cmd
npm start
🔳 terminal/cmd
start http:localhost:3000
Go to github official repo: JSON Server
made with ♥ by...
__ __
\/\/\/\/
\/\/\/
\/\/
www.webvelopers.net