Skip to content

geraldsamosir/Express-next-starter

Repository files navigation

Just starter App

Configuration

set Configuration in ./config.json support database Mysql and Mongodb

CLI

Dev project

    yarn dev

Testing

    yarn test

Generator

    yarn generate -h
     Usage: generate [options]

  Options:

    -V, --version                      output the version number
    -c, --controller [controllerName]  Add controller , controller name dont have capital alfabet and space
    -d , --database [database engine]  choose database engine
    -m ,--model [modelName]            Add model , modelName same with table name
    -r ,--router [routerName]          Add router , router name dont have capital alfabet and space
    -h, --help                         output usage information