1.0.8 • Published 2 years ago

tokotobasi v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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] 
1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago