Skip to content

CLI commands to build your REST Models with fewer efforts.

Notifications You must be signed in to change notification settings

Draym/node-rest-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

REST cli NodeJS npm version

CLI commands to build your REST API with fewer efforts.

available on NPM

Installation

npm i @d-lab/node-rest-cli --save-dev

Usage

Generate your models based on your migration file

Replace 01_create_users_table by your own migration files

npx add-model 01_create_users_table
  • Generate

    • interfaces/{model}.interface.ts
    • models/{model}.model.ts
    • repositories/{model}.repo.ts
    • services/{model}.service.ts
  • Update

    • interfaces/index.ts
    • models/index.ts
    • repositories/index.ts
    • services/index.ts

About

CLI commands to build your REST Models with fewer efforts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published