Skip to content

theiterators/ts-backend-template

Repository files navigation

TS BACKEND TEMPLATE

This is a simple Typescript REST API boilerplate featuring ts-rest, express, slonik and zod.

Features

  • Typescript setup
  • Type-safe REST API following principle "parse, don't validate"
  • CRUD example
  • Healthcheck endpoint
  • Logging, with correlation id and context support
  • Error handling
  • Type-safe database access
  • Type-safe config
  • Strongly-typed domain and DTOs
  • OpenAPI documentation
  • Flyway-based migrations
  • Basic Firebase auth integration

TODO

  • Removing boilerplate from repository file (smartrepos)
  • Docker image packaging
  • Some kind of observability stack
  • Test stack
  • Background jobs

About

Typescript REST API boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published