This project is a CRUD API for a pharmacy management system using Java Spring Boot, only for academic purposes. Test main
- Medicines CRUD
- Medicine fields validation
- Medicine DTO
-
Create medicines database in your MySQL:
CREATE DATABASE medicines_api;
-
Clone the repository
-
Open the project in your IDE
-
Configure your MySQL connection in the file
application.properties
-
Run the project:
mvn spring-boot:run
-
Open your API client (insomnia, postman ...) and go to http://localhost:8080/medicines