How sravani0202/portfolio works
This is a personal portfolio website with a server-backed contact form. Visitors browse the portfolio and can submit an inquiry: the browser validates and sends the form, a backend checks and rate-limits it, then attempts SMTP delivery and reports the outcome. The repository has both an Express server and Netlify-style function handlers using a shared contact service; the README describes both local/server hosting and Netlify. The README’s directory layout does not match the supplied tree, so paths below follow the tree; unsampled HTML and styling relationships are omitted.
Main entry points: contact-service.js Contact service · script.js Browser interactions · server.js Express server · contact.js Contact endpoint
Components 10
Portfolio experience
- Portfolio page
index.html - Visual styling
style.css - Browser interactions
script.js - Profile image
assets
HTTP backend
- Express server
server.js - Contact endpoint
contact.js - Health endpoint
health.js
Contact processing
- Contact service
contact-service.js
External services
- SMTP server
Other components
- Visitor
Connections 7
- Visitor → Portfolio page: browses
README.md - Visitor → Browser interactions: interacts with
README.md - Browser interactions → Express server: posts form
script.js - Express server → SMTP server: sends email
server.js - Contact endpoint → Contact service: delegates to
contact.js - Health endpoint → Contact service: reads status
health.js - Contact service → SMTP server: sends email
contact-service.js