How harris0519/cardrian-builders-corporation works
Cardrian Builders Corporation’s website presents the company, construction services, and industry-specific project pages, then lets prospective clients submit a project inquiry. The browser entry mounts the React application; its contact form posts to the Node API, which applies request checks, validates the inquiry, and sends a branded email through Brevo. The API and email provider are separately deployable from the static website. The sampled source supports the inquiry flow and broad page structure; detailed page components and some API behavior were not fully excerpted.
Main entry points: index.js Inquiry Endpoint · main.jsx React Entry · App.jsx Contact Form · inquiry.js Branded Email
Components 10
Company Website
- React Entry
src/main.jsx - Company & Services
src/App.jsx - Industry Projects
src/App.jsx - Contact Form
src/App.jsx
Inquiry API
- Inquiry Endpoint
server/index.js - Request Controls
server/index.js - Inquiry Validation
server/inquiry.js
Email Delivery
- Branded Email
server/inquiry.js
Other components
- Prospective Client
- Brevo Email API
Connections 9
- Prospective Client → React Entry: opens site
README.md - React Entry → Company & Services: mounts
src/main.jsx - React Entry → Industry Projects: routes to
src/App.jsx - Prospective Client → Contact Form: completes
README.md - Contact Form → Inquiry Endpoint: posts inquiry
src/App.jsx - Inquiry Endpoint → Request Controls: checks request
server/index.js - Inquiry Endpoint → Inquiry Validation: validates inquiry
server/index.js - Inquiry Endpoint → Branded Email: sends inquiry
server/index.js - Branded Email → Brevo Email API: submits email
server/inquiry.js