https://github.com/flaaj/prescriptions-management-system
A system for managing prescriptions
https://github.com/flaaj/prescriptions-management-system
Last synced: 4 months ago
JSON representation
A system for managing prescriptions
- Host: GitHub
- URL: https://github.com/flaaj/prescriptions-management-system
- Owner: Flaaj
- Created: 2023-12-11T22:39:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-09-08T11:32:15.000Z (9 months ago)
- Last Synced: 2025-02-15T11:16:31.213Z (4 months ago)
- Language: Rust
- Size: 514 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Prescriptions Management System
A system for managing prescriptions.
#### Supported use cases:
- 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###### Run database in docker:
- `docker compose up -d` (requires having docker-desktop installed and added to PATH)###### Run tests:
- `cargo watch -x test`###### Run development:
- `cargo run`###### Hosted preview:
- base url: https://api.pms.flaaj-web.dev/
- swagger docs: https://api.pms.flaaj-web.dev/swagger-ui#### TODO:
- [ ] 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?)