ysn-api-generator

Express' application generator

Usage no npm install needed!

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

README

Express Logo

Express' application generator.

Installation

$ npm install -g ysn-api-generator

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 app-name && cd app-name

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