Initiating a new project is as exciting as frustrating. Going through all the routine work just to get the basic engine started, yeah I know the pain.

create-express-boilerplate to Rescue

I along with the tremendous help of huda worked out the solution for you, in the form of create-express-boilerplate. It includes

  1. Entire expressjs setup
  2. Validation Integration with express-validator
  3. Directory setups to provide you with less headache for where goes what
  4. MVC architecture
  5. DB support for both
  6. Sequelize (MySQL and SQLite)
  7. Mongoose (MongoDB)
  8. Integrated JEST Test Suite
  9. Both Vanilla JS and Typescript support
  10. Husky Support for pre-commit hooks
  11. Great amount of inbuild helper functions

And many more to come...

You can install the setup by running

In August 2023 the name of the project was changed from create-express-boilerplate to framework-x.
npx @3rdplanet/framework-x

You can have a complete Documentation Here

Feel free to provide us with your review and feedback in the form of comments or issues on GitHub. All your contributions are cardinally welcome.