How nguyenvuhoang/proskills39-application works
Main Components
a. Client-Side Layer:
• Next.js Frontend (React)
• Static Assets (images, CSS, fonts)
• Client-side Authentication
• Theme System (dark/light mode)
b. Server-Side Layer:
• Next.js API Routes
• Server-side Rendering (SSR)
• Authentication Services
• API Integration Layer
c. External Services:
• Vercel Platform (deployment)
Architectural Patterns to Highlight
┌─ Client Layer ─────────────────────┐
• ┌─ Components ─┐ ┌─ Pages ───────┐ │
• UI │ │ Static Pages │ │
• Layouts │ └──────────────┘ │ │
• ┘ │
• ┌─ Assets ────┐ ┌─ Utils ───────┐ │
• CSS │ │ Hooks │ │
• Images │ │ Helpers │ │
• ┘ └──────────────┘ │ │
• ┘
┌─ API Layer ──────────────────────┐
• ┌─ Next.js API Routes ──────────┐ │
• /api/hello │ │
• ┘ │
• ┘
┌─ External Services ───────────────┐
• ┌─ Auth ─────┐ ┌─ Deployment ───┐ │
• Google │ │ Vercel │ │
• Facebook │ └──────────────┘ │ │
• ┘ │
• ┘
Important Elements to Emphasize
a. Component Architecture:
• Authentication flow
• Demonstrate the theme system integration
b. Data Flow:
• Client-side data fetching
• API route handling
• Authentication flow
• Static/Dynamic rendering paths