How sobaskee/portfolio-v2 works
Project Type and Purpose
• This is a static, single-page, component-based portfolio website (no custom backend code).
• Purpose: showcase resume, projects, skills, contact info, hosted at stanleyke.us.
File Structure
• Top-level:
• package.json/Vite config → build & dev server toolchain
• index.html → SPA entry point
• public/ → static assets (favicons, manifest)
• src/ → React source:
– App.jsx + main.jsx → root application
– components/ → reusable UI pieces (Navbar, Footer, Projects, About, Contact, animations)
– pages/ → high-level routes (Home.jsx)
– assets/ → images, resume PDF
• No “backend” or API folders → purely frontend.
Extract Key Insights from README
• Built to spotlight developer’s skills, projects, resume, contact links.
• No mention of server-side logic or databases.
• External integration points: email link, LinkedIn, hosting.
Main Components & Interactions
a. Components:
• Browser (User)
• Static Hosting/CDN (e.g., Netlify, Vercel, GitHub Pages)
• index.html & JS bundle (built by Vite)
• React App:
– main.jsx → mounts App
– App.jsx → orchestrates Navbar, Pages, Footer
– Pages (Home.jsx) & Components (About, Projects, Contact, animations)
• Static Assets (resume PDF, images, CSS)
• External Services:
– Email client (mailto:)
b. Flow:
1. User’s browser requests stanleyke.us → CDN serves index.html + bundle
2. Browser executes JS bundle → React app hydrates DOM
3. User navigates within SPA → React Router logic (if used)
4. Components fetch or reference static assets locally
5. Contact component triggers external links (email/LinkedIn)
c. Architectural Pattern:
• Single-Page Application (SPA)
• Component-based UI (React)
• Build pipeline via Vite (ESM, fast HMR)
d. Key Technologies:
• React (JSX)
• Vite (dev server + bundler)
• JavaScript/ESM, CSS modules (index.css, App.css)
• Static hosting (implied)
• Clouds for external services (Email, LinkedIn, hosting)
• HTTP GET → index.html, assets
• JS execution → React runtime
• User events → React components
• Click → external services
• Frontend code vs. static assets vs. external services
• Build artifacts (e.g., blue) vs. runtime (e.g., green)