Skip to content
Node, Express, MongoDB, Bower, and Gulp template for log-in, sign up, and blog posting/commenting.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
controllers
data
models
passport
public
routes
views
.gitignore
README.md
app.js
bower.json
db.js
gulpfile.js
package.json

README.md

node-express-mongo-bower-gulp-template

An organized template, using node.js, express, mongodb, bower, and gulp to create a passport/bcrypt authenticated log-in/sign up website with blog posting/commenting.

Log-in Screen

Setup

All instructions for setup and local development are listed in this blog post here.

Local development

To use this template as it is, you can git clone the repo:

git clone https://github.com/huyle333/node-express-mongo-bower-gulp-template

We go into the directory and install npm and bower dependencies and set up gulp.

cd node-express-mongo-bower-gulp-template
npm install && bower install && gulp

Now that we have all the files, to develop on this template locally, you should have 5 terminals/terminal tabs open.

  • 1st terminal: mongod --dbpath data/
  • 2nd terminal: mongo
  • 3rd terminal: gulp watch
  • 4th terminal: npm start
  • 5th terminal: Extra terminal for miscellaneous commands.

After running npm start, you can open a web browser and visit http://localhost:3000 to see your locally developed website.

You can’t perform that action at this time.