Skip to content

pravusid/ts-express-typeorm

Repository files navigation

ts-express-typeorm

TypeScript(ESM) & Express.js & TypeORM & GraphQL Example

Dependencies

nodejs@^20

  • inversify (dependency injection)
  • express
  • @godaddy/terminus
  • graphql
  • type-graphql
  • @apollo/server
  • typeorm
  • class-validator
  • morgan
  • pino
  • jest(ts-jest)

Linting & Formatting

  • typescript-eslint
  • prettier

Jest & ESM

LiveReload for development

concurrently & tsc incremental build & nodemon

Run

./db/init.sh
npm i -g pm2
pm2 start ecosystem.config.cjs