How ankitdimri4/portfolio works
This is a public full-stack personal portfolio: visitors browse the engineer’s profile, work, skills, certificates and contact options, with live GitHub and LeetCode statistics and a contact form. The React app assembles the page; its About and Contact sections use the API client, while the backend handles contact persistence and email notification. The README also describes private features absent from this public tree, so they are not mapped. Some API routing and client transport details are unsampled; those links are omitted or marked unverified.
Main entry points: App.jsx Portfolio app · portfolioController.js Portfolio controller · About.jsx About and stats · Contact.jsx Contact form
Components 25
Portfolio experience
- Portfolio app
client/src/App.jsx - Navigation
client/src/components/Nav/Nav.jsx - Hero
client/src/sections/Hero/Hero.jsx - About and stats
client/src/sections/About/About.jsx - Selected work
client/src/sections/Work/Work.jsx - Career journey
client/src/sections/Journey/Journey.jsx - Technology stack
client/src/sections/Stack/Stack.jsx - Certificates
client/src/sections/Certificates/Certificates.jsx - Contact form
client/src/sections/Contact/Contact.jsx - Footer and map
client/src/components/Footer/Footer.jsx - Site activity
client/src/components/SiteActivity/SiteActivity.jsx
Profile content
- Profile data
client/src/data/profile.js - API client
client/src/lib/api.js
Backend API
- API application
backend/app.js - GitHub stats
backend/controllers/githubController.js - LeetCode stats
backend/controllers/leetcodeController.js - Portfolio controller
backend/controllers/portfolioController.js - Contact validation
backend/lib/contact.js
Persistence and email
- PostgreSQL pool
backend/config/db.js - PostgreSQL
- Email sender
backend/lib/mailer.js - Email service
Other components
- Site visitor
- GitHub
- LeetCode
Connections 24
- Site visitor → Portfolio app: visits
- Portfolio app → Navigation: renders
client/src/App.jsx - Portfolio app → Hero: renders
client/src/App.jsx - Portfolio app → About and stats: renders
client/src/App.jsx - Portfolio app → Selected work: renders
client/src/App.jsx - Portfolio app → Career journey: renders
client/src/App.jsx - Portfolio app → Technology stack: renders
client/src/App.jsx - Portfolio app → Certificates: renders
client/src/App.jsx - Portfolio app → Contact form: renders
client/src/App.jsx - Portfolio app → Footer and map: renders
client/src/App.jsx - About and stats → API client: requests stats
client/src/sections/About/About.jsx - About and stats → Profile data: reads profile
client/src/sections/About/About.jsx - Contact form → API client: posts message
client/src/sections/Contact/Contact.jsx - Contact form → Profile data: reads contact details
client/src/sections/Contact/Contact.jsx - Site activity → GitHub: fetches activity
client/src/components/SiteActivity/SiteActivity.jsx - API application → Portfolio controller: routes requests
- API client → API application: calls API
- GitHub stats → GitHub: fetches stats
README.md - LeetCode stats → LeetCode: fetches stats
README.md - Portfolio controller → Contact validation: validates message
backend/controllers/portfolioController.js - Portfolio controller → PostgreSQL pool: saves contact
backend/controllers/portfolioController.js - Portfolio controller → Email sender: sends notice
backend/controllers/portfolioController.js - PostgreSQL pool → PostgreSQL: queries
backend/config/db.js - Email sender → Email service: sends email