npm run dev # run the API in development mode
npm run prod # run the API in production mode
You will need to create .env
file and set all variables (example: .env.example
). You can use local MongoDB instance, or get cloud-hosted (for example mlab). Then, run the server in development mode.
Api docs are generated automatically by Swagger and will be available on http://0.0.0.0:9000/api/v1/api-docs.