Skip to content

dhruvDMG/spring-boot-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spring-boot-crudrepository-seed

Spring Boot CrudRepository example. Spring Boot Data enables JPA repository support by default. CrudRepository provides generic CRUD operation on a repository for a specific type.

===H2 Db=== Inside the resource folder is included a data.txt which automatic insert the first 4 record to allow you to see the API up and running

===Build and Run===

  1. Using Maven Command: Go to the root folder of the project using command prompt and run the command. mvn spring-boot:run

  2. Using Executable JAR: Using command prompt, go to the root folder of the project and run the command. mvn clean package We will get executable JAR companu-0.0.1-SNAPSHOT.jar in target folder. Run this JAR as java -jar target/company-0.0.1-SNAPSHOT.jar

Tomcat server will be started.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages