Full-stack πλατφόρμα διαχείρισης αποθεμάτων φαρμακείου με Spring Boot και Vanilla JavaScript
Full-stack pharmacy stock platform with Spring Boot and Vanilla JavaScript

View/ Open
Keywords
Φάρμακα ; Έλλειψη φαρμάκων ; Java ; Web application ; Spring Boot ; Full-stack ; Pharmacy Stock Platform ; Στοκ ; Απόθεμα φαρμάκωνAbstract
Medicine shortages in Greece routinely force patients to call or visit multiple pharmacies before locating essential treatments. This thesis presents PharmacyApp, a minimal yet functional full-stack web system that helps customers discover pharmacies that currently stock a requested medicine—or therapeutically equivalent options sharing the same active ingredients. The backend is implemented in Spring Boot with a PostgreSQL database and exposes a secure REST API for managing medicines, pharmacies, and inventory. The frontend is built with HTML/CSS and vanilla JavaScript, providing lightweight views for authentication, search, and administration.
PharmacyApp enables location-aware queries (by city or postal code) and supports lookups by medicine name, barcode, or active ingredient. Search results include stock details such as quantity, price, and expiration, filtering out unavailable items. Role-based access control distinguishes customers from administrators; administrators maintain master data and stock through simple CRUD operations. The system emphasizes clarity over complexity, using straightforward DTOs, controllers, and services to keep codebase easy to extend.
By consolidating distributed pharmacy information into a single, searchable interface, PharmacyApp aims to reduce the time and uncertainty associated with medicine shortages. The work demonstrates a practical architecture that small pharmacies can adopt with minimal overhead. Future extensions may include geolocation, near-real-time stock updates by connecting the app with real pharmacies, and integration with prescription services.


