API Online · Cloud Production · app.pharma.chihabs.online Django 5 + DRF PostgreSQL 16 Flutter 3 (Ex 01–08)

PharmaStore Pharmacy Platform

Complete mobile & web pharmaceutical store for Constantine 2 University (Department of Fundamental Computing · IFA · DAAM 2026–2027). Browse medicines, manage stock, place orders, customize themes/languages, pick delivery locations on map, and manage active sessions.

🔗 Portal: https://app.pharma.chihabs.online/ ⚡ API: https://app.pharma.chihabs.online/api/
DESKTOP · LINUX X64
🐧

Linux Desktop App

Native Linux x64 standalone release bundle. Extract and run ./tp3 on your desktop.

Download (.tar.gz, 10.9 MB)
ARCHIVE · STATIC WEB
📦

Web App Archive

Compiled Flutter Web static bundle ready for offline distribution or self-hosting.

Download (.zip, 14.1 MB)
SECURITY · SSL/TLS
🔒

SSL Certificate (.crt)

X.509 certificate for local HTTPS verification (Exercise 08). Production traffic uses trusted TLS automatically.

Download Cert (2 KB)
SCAN TO DOWNLOAD

Open or Download on Any Phone

Scan this QR code with your smartphone camera to open this download page, install the Android APK, or launch the web app immediately.

Landing Page: https://app.pharma.chihabs.online/
Web App: https://app.pharma.chihabs.online/app/

👨‍⚕️ Pharmacist Account (Store CRUD): pharmacist@pharmastore.dz / password123
👤 Client Account (Browse, Cart & Orders): client@pharmastore.dz / password123

✅ Completed TP3 Modules (Exercises 01 – 08)

01 · AuthenticationLogin & registration forms, Riverpod auth state, token retrieval & error feedback.
02 · Store ManagementPharmacist dashboard, medicine CRUD, stock status badges & delete confirmation.
03 · Store BrowsingClient catalog list, instant search, and dedicated Product Details screen.
04 · Shopping CartRiverpod cart state, +/− quantity controls, total price & PostgreSQL checkout.
05 · Order HistoryClient-scoped past & current orders with items, quantities, date & total.
06 · ParametersEN/FR/AR language switcher & Dark/Light mode in SharedPreferences; search history in SecureStorage.
07 · Profile & Geo-locationEdit name/password, interactive map address picker & profile picture upload.
08 · SecurityPrepared SQL queries, 20-row search cap, PBKDF2 hashes, PostgreSQL sessions, logout & HTTPS.

⚡ Django REST Framework Endpoints

POST /api/register/ · /api/login/
PBKDF2 password hashing & UserSession token
GET /api/products/?search=&limit=20
Prepared SQL search with 20-row cap
POST PUT DEL /api/products/
Role-protected pharmacist inventory CRUD
POST GET /api/orders/
Atomic stock checkout & client order history
PATCH POST /api/profile/ · /api/profile/avatar/
Profile edits, map coordinates & picture upload
GET POST /api/sessions/ · /api/logout/
Active session management & token revocation