##[Demo]
Boilerplate in nodejs illustrating the use of NodeJs using passport, express, handlebars and mongoose environment together with front pages for login, signup and profile mock, which can be used as a boilerplate in your app development! Some Inspired by WEB DEVELOPMENT WITH NODE AND EXPRESS By Ethan Brown Fisrt boilerplate with great flexibility without using any front-end frameworks, just the functionality of the backend and plain frontend! Prerequisite:
- Redis
- Mongodb
- Ngnix Preferred
- Upload images
- Post an article
- Modify an article
- Delete an article
- Leave a comment
- Tag pags
- Search Engine
- More...
- convinent global variables
- easy es5 and es6 shim
- small tool functions
- PAGE TESTS
- CROSS PAGE TESTS
- LOGIC TESTS
- JSLINT TO PERFECT THE CODE
- GRUNT TO AUTOMATE YOUR PROCESS
Includes login with Google together with Passport LocalStrategy
We use cluster module to make full use of muti-core processor and speed up your app
On The Server | On The Client | Test | Database |
---|---|---|---|
Express | html5 | Mocha | Mongodb |
handlebars | grunt | Zombie | Redis |
Passport | sass | Chai | |
node-mailer | |||
- git clone https://github.com/thenodejsboilerplate/nodejs-boilerplate.git
- mv config-default config && cd nodejs-boilerplate
- npm install
- create or modify config.js file under config folder
- node app
- grunt test
- grunt
- npm install -g node-inspector
- node-debug app.js
MIT