node-express-mongoose-demo 0,1,1,0,5,6,4,0 npm

A simple demo app using express, mongoose, passport for beginners

2 years after MIT

Build Status Dependencies Code climate Join Gitter Chat Gittip

Nodejs Express Mongoose Demo

This is a demo node.js application illustrating various features used in everyday web development, with a fine touch of best practices. The demo app is a blog application where users (signing up using facebook, twitter, github and simple registrations) can create an article, delete an article and add comments on the article.

Boilerplate

Want to build something from scratch? use the boilerplate

Requirements

Install

$ git clone git://github.com/madhums/node-express-mongoose-demo.git
$ npm install

NOTE: Do not forget to set the facebook, twitter, google, linkedin and github CLIENT_IDs and SECRETs. In development env, you can set the env variables by doing

cp .env.example .env

and replace the values there. In 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

then

$ npm start

Then visit http://localhost:3000/

Tests

$ npm test

License

MIT

Related Repositories

reactGo

reactGo

Your One-Stop solution for a full-stack universal Redux App! ...

chat.io

chat.io

A Real Time Chat Application built using Node.js, Express, Mongoose, Socket.io, ...

form5-node-express-mongoose-coffeescript

form5-node-express-mongoose-coffeescript

A Node.js skeleton using Express, Mongoose and Coffeescript. ...

nodejs-blog

nodejs-blog

Nodejs + Express + MongoDB + Mongoose + Totally Restful ...

mongoose-express-demo

mongoose-express-demo

A mongoose demo application in node.js using express and hogan for beginners... ...


Top Contributors

madhums greenkeeperio-bot panzhangwang samshiles kalehv birsi seltzlab datermine gotjosh alisanalacam pawe quietshu TomV yoshuawuyts bazh brubrant chaschev eseca

Dependencies

package version
body-parser ~1.17.0
co ~4.6.0
compression ~1.7.0
connect-flash ~0.1.1
connect-mongo ~1.3.1
cookie-parser ~1.4.0
cookie-session ~1.2.0
cors ~2.8.0
cross-env ~5.0.0
csurf ~1.9.0
dotenv ~4.0.0
express ~4.15.0
express-session ~1.15.0
forever ~0.15.1
jade ~1.11.0
method-override ~2.3.5
mongoose ~4.11.0
morgan ~1.8.0
multer ~1.3.0
notifier ~0.1.7
only 0.0.2
passport ~0.3.2
passport-facebook ~2.1.0
passport-github ~1.1.0
passport-google-oauth ~1.0.0
passport-linkedin ~1.0.0
passport-local ~1.0.0
passport-twitter ~1.0.3
view-helpers ~0.1.5
winston ~2.3.0
dev babel-eslint ~7.2.1
babel-preset-stage-0 ~6.24.1
babel-tape-runner ~2.0.1
eslint ~4.1.0
nodemon 1.11.0
supertest *
tape ~4.7.0

Releases

-   v2.0 zip tar
-   v1.0 zip tar