Not Preposterously Macho

    @ps-cli/express

    2.3.2 • Public • Published

    Express Logo

    Express' application generator for Pheadera Solution based on on lib express-generator.

    NPM Version NPM Downloads Linux Build Windows Build

    Installation

    $ npm install -g @ps-cli/express

    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:

    $ ps-express new <name>

    or

    $ pse new <name>

    Options

    Usage: ps-express new [options] <name>
    
    Generates a new project
    
    Options:
      -i, --install  intsall all dependantcies
      -g, --git      initialize git
      -h, --help     Help in options

    Install dependencies:

    $ npm install

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

    $ npm start

    Adding a route:

    $ pse genrate route <name>

    or

    $ pse g r <name>

    Adding a service

    $ pse genrate service <name>

    or

    $ pse g s <name>

    Options:

    Generate

    Usage: ps-express generate|g [options] [command]
    
    Options:
      -h, --help                Get the help info
    
    Commands:
      route|r [options] <name>  Generate a route
      service|s <name>          Generate a service
      help [command]            display help for command

    Route

    Usage: ps-express generate route|r [options] <name>
    
    Generate a route
    
    Options:
      -c, --crud  Generates CRUDS as well
      -h, --help  Help in options

    Service

    Usage: ps-express generate service|s [options] <name>
    
    Generate a service
    
    Options:
      -h, --help  Help in options

    Command Line Options

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

    Usage: ps-express [options] [command]
    
    Gives the verison of CLI
    
    Options:
      -v, --version         Version
      -h, --help            Get the help info
    
    Commands:
      new [options] <name>  Generates a new project
      generate|g

    License

    MIT

    Install

    npm i @ps-cli/express

    DownloadsWeekly Downloads

    22

    Version

    2.3.2

    License

    MIT

    Unpacked Size

    26.8 kB

    Total Files

    42

    Last publish

    Collaborators

    • muhammadhamza
    • usmanfaisal60
    • mustafashykh