Architektura
| Sluzba |
Stack |
Port |
| backend |
NestJS 11 + Fastify, MikroORM, PostgreSQL |
3000 |
| frontend |
Next.js 16 (Pages Router), MUI v7 |
8888 |
| admin |
Next.js 16 (Pages Router), MUI v7 |
8084 |
| sdk |
React component library (Rollup) |
— |
| seat-picker-api |
NestJS 11, TypeORM, PostgreSQL |
— |
| seat-picker-editor |
React 19, Vite, Tailwind, Zustand |
— |
| seat-picker-iframe |
React 19, Vite, Tailwind, Zustand |
— |
| seat-picker-live-api |
Fastify 5, Redis, WebSockets |
— |
| seat-picker-live-api-worker |
Fastify, node-cron, Redis |
— |
| evlbot |
TypeScript, Slack API, node-cron |
— |
| end-to-end-tests |
Playwright |
— |
| pdf-generator |
Go microservice |
— |
| infra |
Docker Compose (PostgreSQL, Redis, Adminer) |
— |
Lokalni vyvoj
# Infrastruktura (Docker Compose)
# PostgreSQL :5432, Redis :6379, Adminer :8080
# SDK lokalni linking
cd sdk && yarn dev # Watch + yalc push
# Hlavni sluzby (kazda ve vlastnim terminalu)
cd backend && yarn dev # :3000
cd frontend && yarn dev # :8888
cd admin && yarn dev # :8084
Konvence
- Jazyk: TypeScript (strict mode)
- Package manager: Yarn v1
- Node: >=22
- Formatovani: Prettier (singleQuote, trailingComma)
- Primarni locale: Czech (cs)
- CI/CD: GitLab CI -> Docker -> ArgoCD (Kubernetes)