1.0.8 • Published 2 years ago
tokotobasi v1.0.8
tokotobasi
A CLI to create a API project in typescript using clean architecture and factory pattern.
Install
npm install tokotobasi -g
Usage
tkt create [project-name]
API
To initialize the api for the first time use the commands.
To create a container in docker
npm run database:up
To create the tables in the database
npm run migrate
To install dependencies
npm install
To start api
npm run dev
The initial project contains 2 routes, one for authentication and the other for the user. The swagger documentation is in localhost/docs.
To generate new modules use the command
tkt module [module-name]