1.0.8 • Published 4 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 -gUsage
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:upTo create the tables in the database
npm run migrateTo install dependencies
npm installTo start api
npm run devThe 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]