Boilerplate
Want to build something from scratch? use the boilerplate- Checkout the apps that are built using this approach
- The wiki is wip, it has some information about the way application is setup.
Requirements
- NodeJs >= 6.x
- mongodb
imagemagick
Install
$ git clone git://github.com/madhums/node-express-mongoose-demo.git
$ npm install
CLIENT_ID
s and SECRET
s. In development
env, you can set the env variables by doingcp .env.example .env
production
env, it is
not safe to keep the ids and secrets in a file, so you need to set it up
via commandline. If you are using heroku checkout how environment
variables are set here.If you want to use image uploads, don't forget to set these env variables for imager config.
IMAGER_S3_KEY=AWS_S3_KEY
IMAGER_S3_SECRET=AWS_S3_SECRET
IMAGER_S3_BUCKET=AWS_S3_BUCKET
$ npm start
from https://github.com/madhums/node-express-mongoose-demo
No comments:
Post a Comment