DEV Community

Saurabh Sharma
Saurabh Sharma

Posted on

Any good express boilerplate generator

I usually use express-generator but I need to install a handful of packages before writing the first line of code.

Do you know any good express boilerplate which uses mongodb, passport, pug

Discussion (6)

radu1122 profile image
Radu Dumitrescu


You can use for free CodeTruck, a fully customizable boilerplace generator engine.

Disclaimer: I am one of the founders

marluanespiritusanto profile image
Marluan Espirituanto • Edited on

You can use something like Sails.js that help jumpstart your app's backend without writing any code. According to documentation: Sails.js is a web framework that makes it easy to build custom, enterprise-grade Node.js apps. It is designed to resemble the MVC architecture from frameworks like Ruby on Rails, but with support for the more modern, data-oriented style of web app & API development. It's especially good for building realtime features like chat.

itsjzt profile image
Saurabh Sharma Author

Sails I have listen about it

marluanespiritusanto profile image
Marluan Espirituanto

Have you ever try Sails?

sagarb3 profile image
Sagar Bhattacharya

try generator-rest , for being used as an express app generator , it's pretty simple , and the code structure is very easy to understand and well divided, I made some tweaks in the boiler plate to support the async-await feature in the router level , the code structure is pretty well defined and the environments handled well and it does not force too much of it's own structure , so it's easy to tweak , secure by default and well explained.

I liked it's way of writing mongoose method and making a common response handler

msamgan profile image
Mohammed Samgan Khan

hi Saurabh,
please have a look at, i think this what you are looking for.