This is a simple Typescript REST API boilerplate featuring ts-rest, express, slonik and zod.
- 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
- Removing boilerplate from repository file (smartrepos)
- Docker image packaging
- Some kind of observability stack
- Test stack
- Background jobs