How k-nishant-18/nishant_portfolio works
This is an interactive developer portfolio: visitors explore a cinematic home page, project index and project details, and can leave guestbook entries or send inquiries. The React app owns routing and shared presentation state; portfolio sections and project data provide the showcase, while the API handles backend requests and documented email/database integrations. The excerpts establish routing, selected component use, guestbook local storage, and API endpoints. Some frontend-to-API and server-to-service wiring is described only generally in the README, so those links are marked unverified.
Main entry points: Home.tsx Home page · App.tsx React app and routes · GuestBook.tsx Guestbook page · ProjectDetail.tsx Project details
Components 25
App shell
- React app and routes
src/App.tsx - Home page
src/pages/Home.tsx - Theme state
src/context/ThemeContext.tsx - Music state
src/context/MusicContext.tsx - Transition state
src/context/TransitionContext.jsx
Portfolio showcase
- Hero experience
src/components/Hero.tsx - Bio and skills
src/components/About.tsx - Skills section
src/components/Skills.tsx - Featured projects
src/components/Projects.tsx - Project catalog
src/data/projects.ts - Project index page
src/pages/Projects.tsx - Project details
src/pages/ProjectDetail.tsx - Architecture diagrams
src/components/ArchitectureTabs.tsx - Developer activity
src/components/DevActivity.tsx - Certifications
src/components/Certifications.tsx - Blog section
src/components/BlogSection.tsx
Visitor interaction
- Contact section
src/components/Contact.tsx - Guestbook page
src/pages/GuestBook.tsx - Floating guestbook
src/components/FloatingGuestbook.tsx - Visitor entry cache
src/lib/guestbook.ts
API services
- API function entry
api/[...path].ts - Express API
api/server.ts - Postgres database
- Email service
Other components
- Portfolio visitor
Connections 27
- Portfolio visitor → React app and routes: opens
src/App.tsx - React app and routes → Home page: routes to
src/App.tsx - React app and routes → Project index page: routes to
src/App.tsx - React app and routes → Project details: routes to
src/App.tsx - React app and routes → Guestbook page: routes to
src/App.tsx - React app and routes → Theme state: provides
src/App.tsx - React app and routes → Music state: provides
src/App.tsx - React app and routes → Transition state: provides
src/App.tsx - Home page → Hero experience: renders
src/pages/Home.tsx - Home page → Bio and skills: renders
src/pages/Home.tsx - Home page → Skills section: renders
src/pages/Home.tsx - Home page → Featured projects: renders
src/pages/Home.tsx - Home page → Developer activity: renders
src/pages/Home.tsx - Home page → Certifications: renders
src/pages/Home.tsx - Home page → Blog section: renders
src/pages/Home.tsx - Home page → Contact section: renders
src/pages/Home.tsx - Project index page → Project catalog: reads
src/pages/Projects.tsx - Project details → Project catalog: reads
src/pages/ProjectDetail.tsx - Project details → Architecture diagrams: renders
src/pages/ProjectDetail.tsx - Guestbook page → Visitor entry cache: loads and saves
src/pages/GuestBook.tsx - Portfolio visitor → Guestbook page: submits entries
src/pages/GuestBook.tsx - Guestbook page → API function entry: requests entries
- Floating guestbook → Visitor entry cache: uses
src/components/FloatingGuestbook.tsx - Contact section → API function entry: submits inquiry
- API function entry → Express API: forwards requests
api/[...path].ts - Express API → Postgres database: reads and writes
README.md - Express API → Email service: sends notifications
README.md