How mayankghatawal/mayank-ghatawal-portfolio works
Main System Components
a) Frontend Layer:
• Sub-components:
• Static Pages (Home, Blog, Projects)
• Components (Navbar, Footer)
• Client-side Routing
• Asset Management (public folder)
b) API Layer:
• Three main endpoints:
• /api/contact
• /api/data
• /api/google
c) Data Management:
• Include:
• Utils/Data (Static Data)
• External Services (indicated by Google API integration)
Component Relationships
a) Client-Server Communication:
b) Data Flow:
• Connection between contact form and contact API
Specific Implementation Details
Technical aspects:
a) Frontend Architecture:
• Next.js App Router structure
• Component hierarchy (homepage components)
• Static/Dynamic routing (blog/[slug])
b) Static Assets:
• Lottie animations
• SVG/PNG resources
• Style management (CSS/SCSS)
Create these distinct sections:
• Client Layer |
• (Next.js Components) |
• ↕
• API Layer |
• (Route Handlers) |
• ↕
• Data Sources |
• (Static & External) |
Additional Elements
Include:
• Version information
• Data flow direction indicators
Implementation Notes
Key details:
• Tailwind CSS integration
• GSAP animations
• MongoDB connection (if implemented)
• Contact form functionality
• Blog system architecture
Remember to: