How marepallisanthosh999333/marepallisanthosh.engineer works
Project Type and Purpose
• Type: Full-stack, serverless portfolio website
• Purpose: Showcase skills/projects, handle a contact form, deliver static assets at high performance
File Structure
• client/ – React+TypeScript single-page application built with Vite and styled via Tailwind CSS
• api/ – Node.js serverless functions (Vercel Serverless Functions) for contact form handling
• config files – vite.config.ts, tailwind.config.ts, vercel.json for build/deploy pipelines
README Insights
• Frontend: React 18, Vite, Tailwind CSS, Framer Motion, Radix UI, etc.
• Backend: Node.js functions using Resend API for email
• Hosting: Vercel (CDN + Edge Functions)
• External integrations: Resend email API, GitHub API (star button), analytics
Main Components and Their Relationships
1. User’s Browser (Client)
– Loads HTML/CSS/JS from CDN
– Performs client-side routing (Wouter)
– Renders React components, handles animations/hooks
– Calls contact API endpoint on form submit
– Fetches GitHub stars via GitHub REST API
2. CDN / Static Hosting (Vercel)
– Serves static assets (index.html, JS bundles, images, PDF resume) globally
– Provides cache layer for performance
3. Serverless Backend (Vercel Functions)
– API entry point (api/index.js)
– Contact handler (api/contact.js)
– Processes POST requests, validates inputs, calls Resend API
4. External Services
– Resend API: Send transactional emails
– GitHub API: Retrieve repository star count
– Analytics (e.g., Vercel Analytics, third-party monitors)
5. Development & Build Tools
– Vite: Dev server, HMR, bundling
– PostCSS/ESBuild: CSS and JS processing
– TypeScript: Type checking
Architectural Patterns & Design Principles
• Component-Based UI (React functional components + hooks)
• Serverless Micro-API (thin Node functions)
• CDN-First static delivery + Edge compute (Vercel)
• Third-Party API Integration (Resend, GitHub)
• Progressive Enhancement & SEO (semantic HTML, sitemap.xml, robots.txt)