How stfuvansh/carepage-backend works
CarePage is a prescription-management backend. Clients can list or search prescriptions, or submit patient/date details with an image; the API uploads images to Cloudinary and stores their URL and metadata in the database. The source shows these routes and the ORM setup, but no README or separate frontend, so client behavior beyond the API contract is not represented.
Main entry points: main.py Prescription API · database.py ORM and sessions
Components 5
API
- Prescription API
main.py
Persistence
- ORM and sessions
database.py - Prescription records
database.py
Image storage
- Cloudinary
Other components
- API client
Connections 5
- API client → Prescription API: sends requests
- Prescription API → ORM and sessions: queries and saves
- ORM and sessions → Prescription records: reads and writes
- Prescription API → Cloudinary: uploads image
- Prescription API → API client: returns results