Node.js application boilerplate Stefano -

Hello everybody.

Today I would like to share with all of you our Node.js application boilerplate.

We use this boileplate every time we start a new project.

This application sets up an Express.js server with authentication, registration, password recovery, all out of the box.

Moreover, there is also implemented authentication/registration via Facebook oauth.

Finally, it supports localization and i18n friendly urls.

From the technical side, the boilerplate has been written using ES6/ES/ syntax and linted using standardjs .

Below the main libraries:

authentication via Passport

authorization via CanCan

mail with nodemailer

i18n via i18n-node

logging via Pino

flash messages via express-flash-2

input validation via express-validator

templating via Pug

stylesheets via Sass

environment variables via dotenv

master branch is based on Bookshelf ORM.

Please check out the sequelize branch to see the same boilerplate with Sequelize ORM.

The application needs PostgreSQL 9.6+

You can clone the project here.

If you are looking to develop a new Node.js project and you need a valuable technical partner, fell free to contact us here and ask for a quotation.