Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 1.27 KB

README.md

File metadata and controls

36 lines (32 loc) · 1.27 KB

Triton

Description

Triton is an example project creating a rest api with express js and typeorm as a relation to mysql. Well actually this is the result of my learning, considering that typescript has almost the same habits as golang :u. But this isn't really neat, maybe I will continue to update it so that the source code feels neat.

Anyway, this project still uses the restful api plan, maybe I'll study tRPC and gRPC, for the database schema there isn't any because I didn't make it :U

Usage

1.1 Usage with Node

Run this command for innstall dependecy

npm i

then running this command for compile file ts

npm run ts

then running this command for running server

npm run dev

1.2 Usage with Docker

Run this command to download docker-compose (this command for linux)

sudo apt install docker-compose -y

then running this command

docker-compose up -d