How 6288mani/bala-portfolio works
This repository provides a portfolio-facing contact experience backed by an email-sending API. A visitor submits contact details through the React form; the backend validates and rate-limits the request, sends a notification and an acknowledgement through Resend, and returns a result for the form to display. The frontend also contains standalone portfolio interactions for navigation, theme selection, animated backgrounds, and project previews. The supplied excerpts do not show how that script is loaded, nor the implementation of the chat widget, so those connections are omitted.
Main entry points: server.js Contact API · ContactForm.jsx Contact form · App.jsx React app shell · FloatingChatWidget.jsx WhatsApp chat widget
Components 7
Portfolio frontend
- React app shell
frontend/src/App.jsx - Contact form
frontend/src/ContactForm.jsx - WhatsApp chat widget
frontend/src/FloatingChatWidget.jsx - Portfolio interactions
frontend/script.js
Contact backend
- Contact API
backend/server.js
External services
- Resend email service
Other components
- Visitor
Connections 7
- Visitor → Contact form: submits message
frontend/src/ContactForm.jsx - React app shell → Contact form: renders
frontend/src/App.jsx - React app shell → WhatsApp chat widget: renders
frontend/src/App.jsx - Contact form → Contact API: posts contact
frontend/src/ContactForm.jsx - Contact API → Resend email service: sends notification
backend/server.js - Contact API → Resend email service: sends acknowledgement
backend/server.js - Contact API → Contact form: returns result
frontend/src/ContactForm.jsx