How tomasfalchini/todos works
Project type and purpose
• This is a full-stack “Todos” application organized as a monorepo (Turborepo/pnpm workspaces).
• Frontend: React + AntDesign, Vite, React Query, Axios, TypeScript.
• Backend: Node.js + Express, TypeScript, layered architecture (controllers → services → repositories → Postgres).
• Shared package: Zod schemas + types used by both front and back.
File structure
• Top-level directories:
• apps/api → backend service (Express server, Dockerfile, migrations, controllers, middleware, routes).
• apps/web → frontend (React app, Vite config, nginx config for production).
• packages/shared → Zod schemas & TypeScript types.
• Supporting files: docker-compose.yaml orchestrates three containers (api, web, postgres).
• Build tooling: Makefile targets (dev, build, docker-up), .eslintrc, prettier, TS config, turbo.json.
README for architecture and stack insights
• Confirms monorepo layout, technology choices, API endpoints, dev/workflow commands, and Docker setup with Postgres.
Detail without over-splitting
• Every architectural layer (middleware, services, migrations) but group related files.
• Shared code usage and Docker orchestration.