How ssillva1413/projeto-hmaa works
This repository implements a public website for Hospital e Maternidade Agenor Araújo, alongside a small Express API for two submissions. Visitors browse hospital information, services, news and transparency materials; they can send an ombudsman manifestation or submit a résumé. The routes and sampled form handlers establish those flows. Other listed pages and downloadable materials are represented as documented by the tree, but their implementation and wiring were not sampled.
Main entry points: routes.jsx Page routes · server.js Express API · App.jsx React app · index.jsx Shared page shell
Components 19
Website shell
- React app
src/App.jsx - Page routes
src/routes.jsx - Shared page shell
src/pages/PageBase/index.jsx - Site navigation
src/components/Header/index.jsx
Public information
- Home
src/pages/Home/index.jsx - Hospital information
src/pages - Clinic and card
src/pages/Cartao/index.jsx - News
src/pages/Noticias/index.jsx - News details
src/pages/NoticiasDetalhes/index.jsx - Transparency portal
src/pages/Projeto/index.jsx - Public documents
public
Form submissions
- Ombudsman form
src/pages/Ouvidoria/index.jsx - Careers form
src/pages/TrabalheConosco/index.jsx
Submission backend
- Express API
server.js - Manifestation storage
db.js - Résumé upload
server.js
Other components
- Visitor
- Google reCAPTCHA
- Gmail mail service
Connections 19
- Visitor → React app: opens site
- React app → Page routes: renders
- Page routes → Shared page shell: wraps pages
- Shared page shell → Site navigation: shows navigation
- Page routes → Home: dispatches
- Page routes → Hospital information: dispatches
- Page routes → Clinic and card: dispatches
- Page routes → News: dispatches
- Page routes → News details: dispatches
- Page routes → Transparency portal: dispatches
- Transparency portal → Public documents: links materials
- Page routes → Ombudsman form: dispatches
- Page routes → Careers form: dispatches
- Ombudsman form → Express API: posts manifestation
- Express API → Manifestation storage: saves record
- Careers form → Express API: uploads résumé
- Express API → Google reCAPTCHA: verifies token
- Express API → Résumé upload: stores temporarily
- Express API → Gmail mail service: sends résumé