ets

Crates.ioets
lib.rsets
version0.2.6
sourcesrc
created_at2020-09-06 03:30:38.649282
updated_at2021-05-10 17:36:41.296297
descriptionsimple cli express-typescript-starter
homepage
repositoryhttps://github.com/manishsingh10895/ets-cli
max_upload_size
id285277
size18,366
Manish Singh (manishsingh10895)

documentation

README

Express Typescript Starter helper cli

Installation

  • Clone the repo
  • cd ets-cli && cargo install

Usage

  • ets [g|generate] [to_generate] [file_name]

Example

ets g c auth

This will create a file in src/controller/auth.controller.ts

Arguments

First Argument

g or generate

Second Argument

arg result
c or controller creates a new controller
s or service creates a new service
m or model creates a new model
mw or middleware creates a new middleware
rs or request-schema create a new express validator schema
r or route creates a new route
Commit count: 12

cargo fmt