express-generator-api

Express' application generator

Usage no npm install needed!

<script type="module">
  import expressGeneratorApi from 'https://cdn.skypack.dev/express-generator-api';
</script>

README

Express Logo

Express' application generator.

Installation

$ npm install -g express-generator-api

Quick Start

Fork of the crufty express generator that scaffolds a basic json api that listens at /users The quickest way to get started with express is to utilize the executable express-api to generate an application as shown below:

Create the app:

$ express-api /tmp/foo && cd /tmp/foo

Install dependencies:

$ npm install

Rock and Roll

$ npm start

Command Line Options

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

-h, --help          output usage information
-V, --version       output the version number
    --git           add .gitignore
-f, --force         force on non-empty directory

License

MIT