Skip to content

witsawa-corporation/node-ts-boilerplate

Repository files navigation

node-ts-boilerplate

Develop API with TypeScript and runner is Node.js

How to develop

before develop please prepare MongoDB

  • run cp .env.production .env and edit your environment
  • run yarn for install package
  • run yarn start for start server
  • open http://localhost:8080 in browser

How to change config

set environment in app/lib/env.ts and fix config in .env.[NODE_ENV] such as .env.production