This is an opinionated full-stack, modern, pure ESM monorepo template that I use for my apps
- pnpm >= 9
- node >= 20
- bun >= 1
- Next.js latest
- Typescript
- Fastify
- graceful shutdown
- barebones route and plugin managemement
- pure esm with typescript
- validation with typebox & fastify-type-provider-typebox
- monorepo through pnpm workspaces
- provided example .env & docker-compose setup
for docker compose
- use .env files in each app (web, backend)
- make sure to fill the fielf
env_file
of each docker service with the respective .env file path