Logo Lanfrica

lunardevs4/e-pharmacy

Domaine:

healthcaredigital infrastructure

Type de record:

software
Créateur:
lun
Hôte:
Transforming medicine accessibility in Rwanda by connecting patients with pharmacies and providing a smarter way to find essential medications. # Rwanda E-Pharmacy - Backend MVP A production-ready, secure, scalable **National Digital Health Platform** backend that enables: - 🧑‍⚕️ **Patients** to locate medicines in real-time, reserve stock, manage prescriptions & medication reminders - 💊 **Pharmacies** to digitize inventory management, track stock, and serve customers - 🏛️ **Ministry of Health** to monitor national medicine availability, shortages, and public health trends --- ## 🛠️ Technology Stack | Layer | Technology | | -------------- | ----------------------------------------------------------------- | | Framework | **NestJS 11** (TypeScript) | | ORM | **Prisma 7** (with Driver Adapter for PostgreSQL) | | Database | **PostgreSQL** (optimized for Neon/Render) | | Auth | **JWT** + **Refresh Token Rotation**, **Passport.js**, **bcrypt** | | Validation | **class-validator**, **class-transformer** | | Documentation | **Swagger/OpenAPI** (`@nestjs/swagger`) | | File Uploads | **Multer** (with type/size validation) | | Scheduled Jobs | **@nestjs/schedule** | | Security | **Helmet**, **CORS**, **Rate Limiting** (@nestjs/throttler) | | Logging | Request, Error, Auth, and Audit Logs | | Deployment | **Render** compatible | --- ## 🏛️ System Architecture **Modular Monolith** — every feature is isolated in its own NestJS module (Controller → Service → DTO → Entity), so any module can later be extracted into a microservice without breaking changes. ### 📦 Implemented Feature Modules | Module | Description | | ---------------- | -- …