How hadehwahle/my-portfolio works
This is a personal portfolio site with a small contact-message API. Visitors browse profile, work, services, and experience content, then may submit a contact form; the API validates it and sends an email to the owner plus an auto-reply. The frontend composition and contact path are shown in sampled source. Other section-to-content use is supported by the SOURCE INDEX; email delivery through Gmail SMTP is documented. No database or other backend product subsystem is indicated.
Main entry points: App.jsx Page composition · content.js Portfolio content data · Contact.jsx Contact form · contact.js Contact route
Components 16
Portfolio site
- React entry
client/src/main.jsx - Page composition
client/src/App.jsx - Navigation and theme
client/src/components/Header.jsx - Introduction
client/src/components/Hero.jsx - Selected work
client/src/components/Work.jsx - Services and toolkit
client/src/components/Services.jsx - About and experience
client/src/components/About.jsx - Contact form
client/src/components/Contact.jsx - Footer
client/src/components/Footer.jsx
Portfolio content
- Portfolio content data
client/src/data/content.js
Contact API
- Express API
server/server.js - Contact route
server/routes/contact.js - Input validation
server/middleware/validateContact.js
Email delivery
- Email controller
server/controllers/contactController.js
Other components
- Visitor
- Gmail SMTP
Connections 23
- Visitor → React entry: opens site
README.md - React entry → Page composition: renders
client/src/main.jsx - Page composition → Navigation and theme: renders
client/src/App.jsx - Page composition → Introduction: renders
client/src/App.jsx - Page composition → Selected work: renders
client/src/App.jsx - Page composition → Services and toolkit: renders
client/src/App.jsx - Page composition → About and experience: renders
client/src/App.jsx - Page composition → Contact form: renders
client/src/App.jsx - Page composition → Footer: renders
client/src/App.jsx - Navigation and theme → Portfolio content data: reads profile
client/src/components/Header.jsx - Introduction → Portfolio content data: reads profile
client/src/components/Hero.jsx - Selected work → Portfolio content data: reads projects
client/src/components/Work.jsx - Services and toolkit → Portfolio content data: reads services
client/src/components/Services.jsx - About and experience → Portfolio content data: reads experience
client/src/components/About.jsx - Contact form → Portfolio content data: reads contact data
client/src/components/Contact.jsx - Footer → Portfolio content data: reads profile
client/src/components/Footer.jsx - Visitor → Contact form: submits message
client/src/components/Contact.jsx - Contact form → Express API: posts contact data
client/src/components/Contact.jsx - Express API → Contact route: routes requests
server/server.js - Contact route → Input validation: validates input
server/routes/contact.js - Contact route → Email controller: dispatches handler
server/routes/contact.js - Email controller → Gmail SMTP: sends two emails
server/controllers/contactController.js - Email controller → Contact form: returns status
server/controllers/contactController.js