A server which parse mockjs template from mongodb database to respond http request.
- Please make sure that you have installed mongodb
- Node.js also needs to be installed
- Install the project
$ git clone https://github.com/yalishizhude/api-mock.git
- install modules
$ npm install
- Start your mongodb
- Install modules
$ npm install
- Start the server
$ npm start
- APIs are edited by api-document server.
- Make sure mongodb is started.
mockjs (http://mockjs.com/)
mongodb (https://www.mongodb.org/)
express (http://expressjs.com/)
node (https://nodejs.org)