/generator

Express' application generator

Primary LanguageJavaScriptMIT LicenseMIT

Express Logo

A generator for Express' which is updated to use ES Modules.

NPM Version NPM Downloads Linux Build Windows Build

Quick Start

The quickest way to get started with express is to utilize the executable express(1) to generate an application as shown below:

Create the app:

$ mkdir foo && cd foo
$ npx express-generator-esmodules .

Install dependencies:

$ npm install

Start your Express.js app at http://localhost:3000/:

$ npm start

Command Line Options

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

    --version        output the version number
    --git            add .gitignore
-p, --pg             setup PostgreSQL database connection
-d, --dev            create a development mode
-t, --test           create a test environment
-f, --force          force on non-empty directory
-h, --help           output usage information

License

MIT