fork and change
Mock API Example
This is an example Mock API for rapid front-end development. I walk through how to build this from scratch in Building a JavaScript Development Environment on Pluralsight.
Quick Start
yarn
yarn start
- Load http://localhost:8888/web/success
Next Steps
Generate PUT, POST requests against the mock API and note that changes are saved to db.json, so they're reflected on refresh like a real database exists! To see this in action, check out Building a JavaScript Development Environment on Pluralsight.
Hosting
For hosting info, check out json-server-heroku.