express-generator-ok

Express application generator using an ejs template

Usage no npm install needed!

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

README

express-generator-ok

Installation

$ npm install express-generator-ok -g

Run Application

Choose the name of your project and create it using:

$ gen-ok -n <name>

Navigate to your project:

$ cd <name>

Install dependencies:

$ npm install

Run your app.js project locally at http://localhost:3000/:

$ node app.js

Command Line Options

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

-h, --help          output usage information
    --version       output the version number
-n, --name <name>   Project name

Info

The express-generator-ok generates a blank express project with a rMVC structure with blank routes. It uses an ejs javascript template and also includes the materialize framework. It generates a Procfile if you want to deploy your project to heroku.