1.1.1 • Published 2 years ago
equals.ts v1.1.1
Equals.ts CLI
simple cli to create server backend using express server with all files pre configured
Installation
install equals.ts cli with yarn
sudo yarn global add equals.ts
more details
equals help
More Details
create new project
equals new my-project
cd my-project
yarn install
run project
yarn dev
All available commands
install:
install your preferencial orm: typeorm or mongoose
typeorm
drive: postgres or mysql
equals install:orm typeorm postgres
mongoose
drive: postgres or mysql
equals install:orm mongoose
install command, creates the database.ts file inside the 'src/env/' folder that contains the database settings
make:
create endpoint restfull module
equals make:modules endpoint