mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-15 23:31:04 +00:00
1.1 KiB
1.1 KiB
Project Architecture
Overview
This is a TypeScript/Node.js project with an API layer, services, and type definitions.
Directory Structure
API Layer (src/api/)
- REST API endpoints and route handlers
- Request/response validation using Zod schemas
- Authentication endpoints (login, register, etc.)
- Error handling middleware
Services (src/services/)
- Business logic layer
- Database operations
- External API integrations
- User management services
Types (src/types/)
- TypeScript type definitions
- Shared interfaces and types
- User models and DTOs
Configuration (src/config/)
- Environment variables
- Application configuration
- Constants (JWT secrets, expiration times, etc.)
Key Technologies
- Express.js for API routes
- Zod for schema validation
- JWT for authentication
- TypeScript for type safety
Intent Areas
- API Development - All API endpoints and handlers in
src/api/** - Service Layer - Business logic in
src/services/** - Type Definitions - Type system in
src/types/** - Configuration - Config management in
src/config/**