Sample application - Spring Boot, REST, Hibernate JPA, MySQL
This is a code sample demonstrating basic CRUD operations for a Book keeping system. It has following components:
- MySQL database - To store book information.
- Hibernate JPA - Communication to the data layer done via JPA annotations.
- Spring controller - To expose APIs for CRUD operations.
- Spring Boot - To package and run the applicaiton in self contained Tomcat environment.
To run this app on your system:
- You should have Java, Maven, MySQL installed and running.
- Download the application (Clone or extract).
- Navigate to the application directory.
- To build the application - mvn clean install
- To run the application - mvn spring-boot:run (Make sure that no process is running on port 8080 used by Tomcat)