/express-template

Production grade express template using NodeJS and Drizzle-ORM

Primary LanguageTypeScriptMIT LicenseMIT

Express Template [REST]

This is a heavily opinionated template for express backend projects

Features

  • Latest packages
  • Namespaces
  • Clean architecture
  • Dependency injection
  • Cli commands
  • RBAC (Role Based Access Control) out of the box
  • Fully tested, documented and typesafe
  • Plug and play
  • Drizzle-orm
  • Serverless ready

Docs

General docs

Prerequisites

Docker (MYSQL, REDIS, ADMINER)

docker-compose up -d

Installing dependencies

pnpm install

Running dev server

pnpm dev

Running prod

pnpm build
pnpm start

Running tests

pnpm test