Total Pageviews

Wednesday, 19 October 2016

login-skeleton, 一个基于nodejs+MongoDb 的博客程序

What is This Project?

I build a lot of Node.js websites and find myself always needing user registration and login. I created this project by ripping out everything of an existing one except the bare minimum to enable user login.

What do I Need?

You will need the following to get started:

  • Node.js enabled machine
  • MongoDB database

How do I Start?

First, edit <PROJECT_ROOT>/common.js to point to your MongoDB
Then, run the following from your terminal:
$ npm install
$ npm start