How spidey-cloud/portfolio2.0 works
This is a React portfolio with a public showcase, meeting-request flow, and separately routed admin interface for authentication and content management. The visible frontend entry point selects the portfolio or admin view; showcase sections render portfolio content, while admin edits use storage helpers that call the backend API. The README documents backend booking, Supabase persistence, email notifications, and scheduling features, but backend source is absent from the supplied tree. Those backend integrations are shown as documented or unverified rather than inferred from unseen code.
Main entry points: App.tsx App routing · storage.ts Portfolio storage · AdminPanel.tsx Admin panel · BookCall.tsx Meeting booking
Components 23
Portfolio showcase
- App routing
src/App.tsx - Navigation
src/components/Navbar.tsx - Hero
src/components/Hero.tsx - About and resume
src/components/About.tsx - Skills
src/components/Skills.tsx - Projects
src/components/Projects.tsx - Testimonials
src/components/Testimonials.tsx - Music
src/components/MusicSection.tsx - Meeting booking
src/components/BookCall.tsx - Footer and social
src/components/Footer.tsx - Canvas background
src/components/MouseEffectBackground.tsx
Admin management
- Admin page
src/pages/AdminPage.tsx - Admin panel
src/components/AdminPanel.tsx - TOTP authentication
src/lib/totp.ts
Shared frontend services
- Notifications
src/components/Toast.tsx - Portfolio storage
src/lib/storage.ts - Input validation
src/lib/validate.ts - Default content
src/data.ts
Backend services
- Express API
backend - Supabase
- Email service
Other components
- Visitor
- Admin user
Connections 36
- Visitor → App routing: opens site
README.md - Admin user → App routing: opens admin
README.md - App routing → Navigation: renders
src/App.tsx - App routing → Hero: renders
src/App.tsx - App routing → About and resume: renders
src/App.tsx - App routing → Skills: renders
src/App.tsx - App routing → Projects: renders
src/App.tsx - App routing → Testimonials: renders
src/App.tsx - App routing → Music: renders
src/App.tsx - App routing → Meeting booking: renders
src/App.tsx - App routing → Footer and social: renders
src/App.tsx - App routing → Canvas background: renders
src/App.tsx - App routing → Admin page: routes to
src/App.tsx - App routing → Notifications: renders
src/App.tsx - Admin page → Admin panel: renders
src/pages/AdminPage.tsx - Admin panel → Portfolio storage: saves content
src/components/AdminPanel.tsx - Admin panel → TOTP authentication: authenticates with
src/components/AdminPanel.tsx - Admin panel → Notifications: shows feedback
src/components/AdminPanel.tsx - Admin panel → Input validation: validates inputs
src/components/AdminPanel.tsx - Meeting booking → Portfolio storage: tracks activity
src/components/BookCall.tsx - Meeting booking → Input validation: sanitizes input
src/components/BookCall.tsx - About and resume → Portfolio storage: loads content
src/components/About.tsx - About and resume → About and resume: opens resume
src/components/About.tsx - Footer and social → Portfolio storage: tracks activity
src/components/Footer.tsx - Footer and social → Footer and social: renders social links
src/components/Footer.tsx - Hero → Portfolio storage: loads content
src/components/Hero.tsx - Skills → Portfolio storage: loads content
src/components/Skills.tsx - Projects → Portfolio storage: loads content
src/components/Projects.tsx - Music → Portfolio storage: loads content
src/components/MusicSection.tsx - Testimonials → Default content: reads defaults
src/components/Testimonials.tsx - Portfolio storage → Input validation: sanitizes data
src/lib/storage.ts - Portfolio storage → Default content: uses defaults
src/lib/storage.ts - Portfolio storage → Express API: calls REST API
src/lib/storage.ts - Express API → Supabase: persists records
README.md - Express API → Email service: sends notifications
README.md - Meeting booking → Express API: submits requests