Skip to content

RESTful web service demonstrating JPA, Hibernate, MySQL and Swagger usage with Spring Boot

Notifications You must be signed in to change notification settings

ajurge/spring-boot-mysql-jpa-hibernate-swagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

JPA + Hibernate + MySQL + Swagger with Spring Boot

RESTful web service demonstrating JPA, Hibernate, MySQL and Swagger usage with Spring Boot. API documentation is generated using Swagger.

Instructions

Project should be built and run using Java 1.7 or above.

  1. Open the application.properties file and set your own configurations for the database connection.

  2. Build with Maven mvn clean install

  3. Change directory to ../spring-boot-mysql-jpa-hibernate-swagger/target/

  4. Execute in the terminal java -jar spring-boot-mysql-jpa-hibernate-swagger-1.0.0-SNAPSHOT.jar

Alternatively run mvn spring-boot:run from command line or IDE or execute com.springboot.Application.main() from within IDE.

Once the service is up and running the documentation of the REST API can be accessed at:

About

RESTful web service demonstrating JPA, Hibernate, MySQL and Swagger usage with Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages