A sample blog built with Node.js, Express, Mongoose (MongoDB), and Jade.
First, you have to install Node.js (a prefered way is using nvm). Then do the following steps.
git clone git://github.com/trantorLiu/Node.js-Sample-Blog.git
cd Node.js-Sample-Blog
npm install
node app.js
You should also install MongoDB on your server. Then visit http://localhost:3000.
As a practice, you may add the following features yourself.
- CRUD support for comments (CRUD stands for Create, Read, Update, and Delete.)
- Authentication
- Form validation
- Perhaps a better routing logic