Express generator CLI with es6+ support and your choice of database config
MIT License
Tired of searching for the right boilerplate repo? Generate your next ExpressJS project from the command line, and pick the options you need to fit your next project.
Now with Typescript support!
mongojs
, mongo + mongoose
, sequelize
, or none
)nodemon
to transpile code on changesequelize
(postgres, mysql, sqlite, etc.)jest
will add configs for other frameworks eventuallynpx generate-express myCoolProject
npm i -g npx
# run with file watch (development)
$ npm run start
localhost:3001/api
localhost:3001/api/users
npm
scripts# run with file watch (development)
$ npm run start
# run as production
$ npm run prod
# create prod build to /dist
$ npm run build
MyCoolApp
└── server
├── app.js
├── bin
│ └── www.js
├── controllers
│ └── userController.js
├── models
│ ├── User.js
│ └── index.js
└── routes
├── hello.js
├── index.js
└── users.js
Feel free to raise an issue or create a Pull Request if you see ways that can improve this library.
Express' application generator.