Fresh Turborepo workspace for the Recycly rebuild.
apps/web: main Next.js applicationapps/api: Elysia backend APIapps/docs: docs/help app placeholder (Fumadocs planned)packages/config: shared environment helperspackages/contracts: shared API contracts and domain enumsPRD.md: product requirementsPHASES.md: execution tracker
- Turborepo
- Bun workspaces
- Next.js App Router
- Elysia
- Biome
- Ultracite
- Drizzle ORM
- Neon Postgres
bun install
bun run dev
bun run lint
bun run typecheck
bun run build
bun run test
bun run check
bun run fix- Root scripts delegate to
turbo run .... - Package-level scripts own the actual
build,dev,lint, andtypecheckwork. - Biome configuration is centralized at the repo root through
ultracite. apps/webowns WorkOS authentication UX and forwards trusted auth context toapps/api.apps/apiowns business logic, validation, RBAC, and database access.- WorkOS AuthKit expects
WORKOS_API_KEY,WORKOS_CLIENT_ID,WORKOS_COOKIE_PASSWORD, andNEXT_PUBLIC_WORKOS_REDIRECT_URI(default local callback:http://localhost:3000/auth/callback).