A simple ExpressJS skeleton generator with zero dependency and customizable arguments
Run npm install -g spawn-express-app
Run npx spawn-express-app <DIRECTORY-NAME> [OPTIONS]
npx spawn-express-app my-backend -e -n -d=postgres
This will generate a express app called my-backend
with environment variables, nodemon and postgres already setup for your use.
Option | Description |
---|---|
-e | Add 'dotenv' environment variable support |
-n | Add nodemon for development |
-v=[OPTION] | Add view engine (pug, ejs, mustache, nunjucks) |
-c=[OPTION] | Add CSS support (sass, css) |
-d=[OPTION] | Integrate with a database (postgres) |
For any queries you can email at: khapungbj84@gmail.com