npm i typescript -g
npm i ts-node -g
git clone https://github.com/naphattharawat/ts-node-db my-api
cd my-api
npm i
cp .env.example.txt .env
npm start
open browser and go to http://localhost:3000
pm2 start src/bin/www.ts --name MyServerName
npm i typescript -g
npm i ts-node -g
git clone https://github.com/naphattharawat/ts-node-db my-api
cd my-api
npm i
cp .env.example.txt .env
npm start
open browser and go to http://localhost:3000
pm2 start src/bin/www.ts --name MyServerName