How nokwandadzanibe/pinkbloomapp works
Pink Bloom is a community report and case tracker. Users register or sign in, submit menstrual-health access reports, and follow their cases; NGO partners and admins review reports and advance them through the status pipeline. The frontend is implemented in a single React application file, while the sampled FastAPI handlers perform database operations directly. The README documents dashboards, filtering, reset-demo behavior, and session restoration; source excerpts are partial, so internal wiring beyond shown calls is not inferred.
Main entry points: app.py Report endpoints · App.jsx App flow · main.jsx React entry
Components 13
React application
- React entry
frontend/src/main.jsx - App flow
frontend/src/App.jsx - Login and signup
frontend/src/App.jsx - User cases
frontend/src/App.jsx - Report submission
frontend/src/App.jsx - Partner triage
frontend/src/App.jsx
API and workflows
- Auth endpoints
backend/app.py - Password and JWT
backend/app.py - Report endpoints
backend/app.py - Status pipeline
backend/app.py
Persistent state
- SQLite database
backend/app.py
Other components
- Community user
- Partner / admin
Connections 18
- React entry → App flow: renders
- Community user → App flow: uses
- Partner / admin → App flow: uses
- App flow → Login and signup: shows
- App flow → User cases: shows
- App flow → Partner triage: shows
- User cases → Report submission: opens
- Login and signup → Auth endpoints: registers / logs in
- Auth endpoints → Password and JWT: hashes / issues tokens
- Auth endpoints → SQLite database: reads / writes users
- User cases → Report endpoints: loads cases
- Report submission → Report endpoints: submits report
- Partner triage → Report endpoints: filters / advances / resets
- Report endpoints → Status pipeline: advances status
- Report endpoints → SQLite database: reads / writes reports
- Auth endpoints → Login and signup: returns session
- Report endpoints → User cases: returns cases
- Report endpoints → Partner triage: returns reports