Skip to content

Flaaj/Prescriptions-management-system

Repository files navigation

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:

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?)

About

A system for managing prescriptions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published