How riteshpandey9450/ritesh-portfolio works
This is a full-stack personal portfolio: visitors browse React portfolio pages, search or submit a contact message, while the backend records visitor activity and processes contact submissions in MongoDB. The graph preserves the documented GitHub repo-count capability, but the supplied tree has no identifiable implementation path for it. Edges reflect shown imports/calls or README-documented behavior; dashed edges mark documented links whose implementation details were not excerpted.
Main entry points: App.jsx Application shell · contact.routes.js Contact routes · visitor.routes.js Visitor routes · SearchDialog.jsx Smart search
Components 30
Portfolio experience
- Application shell
client/src/App.jsx - Home page
client/src/pages/Home.jsx - About page
client/src/pages/About.jsx - Education page
client/src/pages/Education.jsx - Experience page
client/src/pages/Experience.jsx - Skills page
client/src/pages/Skills.jsx - Projects page
client/src/pages/Projects.jsx - Certificates page
client/src/pages/Certificates.jsx - Contact page
client/src/pages/Contact.jsx - Not-found page
client/src/pages/NotFound.jsx - Smart search
client/src/components/SearchDialog.jsx - Search index
client/src/config/searchData.js - SEO behavior
client/src/hooks/useSEO.js - Visitor tracking hook
client/src/hooks/useVisitorTracking.js
API workflows
- Express application
server/src/app.js - API route registry
server/src/routes/index.js - Contact routes
server/src/routes/contact.routes.js - Visitor routes
server/src/routes/visitor.routes.js - Contact workflow
server/src/controllers/contact.controller.js - Visitor workflow
server/src/controllers/visitor.controller.js
Validation and access
- Contact validation
server/src/middleware/validate.middleware.js - Spam filtering
server/src/utils/contentFilter.js - Rate limiting
server/src/middleware/rateLimiter.middleware.js - Admin key check
server/src/middleware/auth.middleware.js
Persistence
- Contact records
server/src/models/Contact.model.js - Visitor records
server/src/models/Visitor.model.js - Database connection
server/src/config/db.js
Other components
- Portfolio visitor
- GitHub service
- MongoDB
Connections 32
- Portfolio visitor → Application shell: browses
client/src/App.jsx - Application shell → Home page: routes to
client/src/App.jsx - Application shell → About page: routes to
client/src/App.jsx - Application shell → Education page: routes to
client/src/App.jsx - Application shell → Experience page: routes to
client/src/App.jsx - Application shell → Skills page: routes to
client/src/App.jsx - Application shell → Projects page: routes to
client/src/App.jsx - Application shell → Certificates page: routes to
client/src/App.jsx - Application shell → Contact page: routes to
client/src/App.jsx - Application shell → Not-found page: routes to
client/src/App.jsx - Application shell → SEO behavior: uses
client/src/App.jsx - Application shell → Visitor tracking hook: uses
client/src/App.jsx - Application shell → Smart search: renders
- Smart search → Search index: filters
client/src/components/SearchDialog.jsx - Smart search → Application shell: navigates
client/src/components/SearchDialog.jsx - Home page → GitHub service: fetches count
README.md - Contact page → Portfolio visitor: submits message
README.md - Visitor tracking hook → Express application: sends tracking
README.md - Express application → API route registry: mounts routes
server/src/app.js - API route registry → Contact routes: registers
server/src/routes/index.js - API route registry → Visitor routes: registers
server/src/routes/index.js - Contact routes → Contact workflow: dispatches
server/src/routes/contact.routes.js - Contact routes → Rate limiting: limits submissions
server/src/routes/contact.routes.js - Contact routes → Contact validation: validates
server/src/routes/contact.routes.js - Contact routes → Admin key check: guards admin
server/src/routes/contact.routes.js - Contact validation → Spam filtering: filters content
server/src/middleware/validate.middleware.js - Visitor routes → Visitor workflow: dispatches
server/src/routes/visitor.routes.js - Visitor routes → Rate limiting: limits tracking
server/src/routes/visitor.routes.js - Visitor routes → Admin key check: guards listing
server/src/routes/visitor.routes.js - Contact workflow → Contact records: reads and writes
server/src/controllers/contact.controller.js - Visitor workflow → Visitor records: reads and writes
server/src/controllers/visitor.controller.js - Database connection → MongoDB: connects