A system for managing prescriptions.
- Adding a new doctor to database
- Adding a new patient to database
- Adding a new pharmacist to database
- Adding a new drug to database
- prescribing drugs for patients by doctors
- filling a prescription by pharmacists
docker compose up -d
(requires having docker-desktop installed and added to PATH)
cargo watch -x test
cargo run
- base url: https://api.pms.flaaj-web.dev/
- swagger docs: https://api.pms.flaaj-web.dev/swagger-ui
- images service for storing drug images
- require prescription code to fill
- add deleting to each collection
- add updating to each collection
- add phone number to patient collection and send sms with prescription code
- drug variants (e.g. 10 pills | 20 pills | 50 pills)
- drug categories
- create a single fake repository that implements all "repository" traits and has initial records (or just use real database for testing services and controllers?)