russoalberto / node-api-skeleton

based on https://github.com/ndelvalle/generator-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-api-skeleton

installation

change name of schema in config.js

npm install

dependencies

node 6.3.x or later and mongodb

developing

start mongod, if not already started:

mongod

run the app:

npm run dev

the app runs on localhost:8080

production

you'll likely be consuming mongodb as a service, so make sure you set the env var to connect to it.

npm start

About

based on https://github.com/ndelvalle/generator-api


Languages

Language:JavaScript 100.0%