generator-http-fake-backend
Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
Installation
First, install Yeoman and generator-http-fake-backend using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-http-fake-backend
Then generate your fake backend server:
yo http-fake-backend
Generating endpoints
yo http-fake-backend:endpoint
Please see detailed info regarding how to adjust your endpoints over here:
https://github.com/micromata/http-fake-backend
Start the server
npm run start:dev
This way the server uses nodemon
to restart itself on changes.
This way you dont have to restart the server in case you changed an endpoint.
Getting To Know Yeoman
Yeoman has a heart of gold. He’s a person with feelings and opinions, but he’s very easy to work with. If you think he’s too opinionated, he can be easily convinced. Feel free to learn more about him.
License
MIT © Micromata
Please be aware of the licenses of the components we use in this project.
Everything else that has been developed by the contributions to this project is under MIT License.