03Backend and architecture
Code someone can pick up in two years
- NestJS
- Fastify
- TypeScript
- Prisma
- PostgreSQL
- Redis
- BullMQ
- Keycloak
A modular monolith, internal events rather than cross-calls, one data access layer. I draw the PostgreSQL schema before writing a line. One example of what that buys you: a Prisma connection pool that kept running dry under load, fixed by putting PgBouncer in front in transaction mode instead of making the pool bigger.
