How jaswanth-datso/test-portfolio works
Project type and purpose
• This is a static, single‐page portfolio website built with React and Tailwind CSS.
• It’s deployed serverlessly on Vercel, with Firebase used for the contact form and email functionality.
File structure
• Top-level:
• package.json, vite.config.ts: build & dev tooling with Vite
• public/: static assets (JSON animations, Google validation HTML, shell scripts)
• src/: application sources
– src/Pages/: page‐level React components (Home, About, Portfolio, Contact, etc.)
– src/components/: smaller UI pieces (Navbar, Modal, CardProject, etc.)
– src/firebase.js: Firebase SDK initialization
– src/main.jsx & src/App.jsx: app entrypoint and router/page composition
• Configuration files: Tailwind (tailwind.config.js), ESLint, TypeScript config (tsconfig.*.json).
README
• Confirms React + Tailwind frontend, Vercel hosting.
• Firebase for backend services (contact form, email).
• Features: project showcase, skills section, responsive design.
Main components
a. Frontend (React SPA)
• Browser Client
• Served by Vercel CDN
• Static assets from public/ directory (animations, validation file)
b. Backend & Services
• Firebase (Realtime Database or Firestore) for form submissions
• Firebase Cloud Functions or Email Service for sending emails
c. Hosting & Deployment
• Vercel (GitHub integration ⇒ automatic builds & deploys)
d. External services
• Google APIs (if used for Lottie animations or analytics)
Relationships and interactions
• User’s Browser ⇒ HTTP GET to Vercel CDN ⇒ React SPA loaded
• React SPA ⇒ Reads local JSON animations/assets from /public
• When user submits the Contact form ⇒ React invokes Firebase SDK (firebase.js) ⇒ writes data to Firestore and triggers Cloud Function ⇒ sends email
• Continuous deployment pipeline: GitHub push ⇒ Vercel Build ⇒ Deploy to global CDN
Architectural patterns & tech highlights
• Single Page Application (client-side routing)
• Component-based UI (Atoms/Molecules in src/components vs. Pages)
• Serverless backend (Firebase SDK + Cloud Functions)
• Infrastructure as Code: Vercel handles hosting without explicit server management
• Build tool: Vite for fast local dev and optimized production bundles