Surtr
A template generator for Express.js project with pre-configured databases.
Generate project
> npx create-surtr
Feature
- Generate template for Express.js project with Typescript or Javascript using command line
- Choose which database for each type (MongoDB, MySQL, Postgre)
- Config with additional tools/services (redis, docker, ...)
Develop locally
Install dependencies and running
- Run
npm install
at repository root -
npm run dev
to start the generator's cli locally at current directory
Test generator
- Run
npm run build
- If you want to run generator anywhere locally:
Or run at repository root:
npm link
npm start
- After that, you can either run
npx create-surtr
orsurtr
to generate template
Future works:
- Add more database's template for TS, JS
- Add more configuration for tools/services
Contribution
Any suggestions for this project are welcomed!
Feel free to contribute, just open an issue and create a pull request!