1.4.2 • Published 7 months ago

express-sire v1.4.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

GitHub license npm version semantic-release

Express-Sire: Express application generator with flavors.

It brings to the table:

Customizable features

  • ESM Modules or CJS
  • Express JSON API
  • Git
  • Prettier

Optional modules:

Installation

$ npm install -g express-sire

Get Started

Create the app via interactive cli:

$ express-sire

express-sire-cli

Install dependencies:

$ npm install

For Sequelize users

Populate the .env with POSTGRES credentials

DATABASE_NAME=
DATABASE_USER=
DATABASE_PASSWORD=
DATABASE_HOST=
DATABASE_DIALECT="postgres"

Create table and properties inside database

$ npm run update-db;

Start your app at http://localhost:3000/:

$ npm start

Command Line Options

$ express-sire -n <new-project> -a

This generator can also be further configured with the following command line flags.

-a, -all ---------------- Include every configuration same as 
                          express-sire -n <new-project>  -mn -ms cjs -gf -gi -c -h -s)
-n,  --name <name> ------ Project name (mandatory for raw cli only)
-mn, --monorepo --------- Add monorepo folders (backend/ and frontend/) (default: false)
-ms, --modsytem <type> -- Add either cjs|esm. (default: 'cjs') 
-gi, --gitignore -------- Add .gitignore (default: false)
-gf, --gitfolder -------- Initialize git folder (default: false)
-c,  --compression ------ Add compression package (default:false)
-h,  --helmet ----------- Add helmet sequelize (default:false)
-s,  --sequelize -------- Add sequelize with Postgres support (default:false)

License

MIT

1.4.2

7 months ago

1.4.1

7 months ago

1.5.0

8 months ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago