backend/
├── app/
│ ├── middlewares/ # Middlewares (auth, validation)
│ ├── models/ # Database queries (Prisma)
│ ├── prisma/ # Prisma schema & config
│ ├── routers/ # API routes
│ ├── schemas/ # Validation schemas (TypeBox)
│ ├── services/ # Business logic
│ └── utils/ # Helper functions
├── main.ts # Entry point
├── start.bat # Windows setup script
├── start.sh # Linux/Mac setup script
└── .env # Environment variables
npm run dev.\start.batchmod +x start.sh
./start.shThis script will:
- Pull latest git changes
- Install dependencies
- Sync database schema
- Generate Prisma client
- Start dev server