How cloneot/pl-maker-api works
Main Components
a. Core Application Layer:
• NestJS Application Core
• Authentication Module (Google OAuth)
• YouTube Integration Service
• Configuration Module
b. Resource Modules:
• Users Module
• Music Module
• Playlists Module
• PlaylistItems Module
• Tags Module
c. External Services:
• Google OAuth Service
• YouTube API
• Database (likely TypeORM-based)
┌─ External Services Layer ─┐
• Google OAuth │
• YouTube API │
• ┘
• ↕
┌─ Application Layer ──────┐
• ┌─ Auth Module ───────┐ │
• Google Strategy │ │
• Auth Guards │ │
• ┘ │
• ┌─ Core Services ────┐ │
• YouTube Service │ │
• Config Service │ │
• ┘ │
• ┌─ Resource Modules ──┐ │
• Users │ │
• Music │ │
• Playlists │ │
• PlaylistItems │ │
• Tags │ │
• ┘ │
• ┘
• ↕
┌─ Data Layer ────────────┐
• TypeORM Entities │
• Database │
• ┘
Important Details to Highlight
a. Module Relationships:
• How the Auth module protects other resources
• YouTube service integration with playlist-related modules
• Relationship between entities (User → Playlist → PlaylistItem → Music)
b. Cross-Cutting Concerns:
• Exception filter flow
• Where decorators are applied
• Configuration system's influence
Technical Stack Indicators
• NestJS as the primary framework
• TypeScript as the programming language
• TypeORM for database operations
• Google OAuth for authentication
• YouTube API integration
• Docker for containerization
• Jest for testing
Remember to emphasize the modular nature of the NestJS application and how the different components interact through dependency injection and the module system.