Developer Guide
Technical documentation for the Twin platform engineering team.
Sections
| Section | Description |
|---|---|
| Architecture | System design, service boundaries, and component diagrams |
| Flows | Step-by-step sequences for key operations (minting, bridging, rebalancing) |
| Database | ER diagrams, migration guide, and data patterns |
| Local Setup | Getting the monorepo running on your machine |
| Conventions | Coding standards, naming rules, and team agreements |
Monorepo Overview
The codebase is organized as four sub-projects:
- twin-backend -- NestJS + Fastify monorepo (API, cron, database, shared services)
- twin-dashboard-frontend -- React 19 internal admin panel (MUI, Redux Toolkit, Nx)
- twin-platform-frontend -- React 19 user-facing app (wagmi, RainbowKit, Vite)
- twin-bridge -- LayerZero V2 cross-chain bridge contracts (Hardhat + Foundry)
Last modified on