Wprowadzenie
Warstwy modularnego monolitu i przepływ żądania.
Pełna treść jest utrzymywana po angielsku i może być uzupełniana sukcesywnie. Poniżej znajduje się lokalna wersja / mapa tej strony.
Shape
SaaSy Land is a modular monolith:
- Delivery —
app/,proxy.ts,routes.ts - Modules — use-cases + schemas + validations per domain
- Presentation — shared UI kit
- Integrations — Better Auth, next-intl, Fumadocs, Resend, Redis, safe-action
- Platform — env, DB, test helpers
There is no DI container. Pages and actions construct or import concrete collaborators and call use-cases.
Request sketch
Browser
→ proxy.ts (i18n + session gates for /admin /app)
→ RSC page / route handler / server action
→ module use-case (authz + orchestration)
→ Better Auth API / Drizzle / Resend / Redis
→ UI (RSC stream or client island)