To see how this things work's see:
- REST resources as middleware via resource-router-middleware
- CORS support via cors
- Body Parsing via body-parser
- Database Mongoose
Rename the file [.envexample] to [.env] and update configurations.
# clone 0change-backend repository
$ git clone https://github.com/0change/0change-backend.git
# install depenencies
$ cd 0change-backend
$ npm install
# update config parameters
$ cp .env-example .env
$ nano .env
# start the backend
$ pm2 start pm2.config.js
In next step you need to run 0change-frontend.
MIT