Skip to content

Asraf-Uddin-Ahmed/spring-boot-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

spring-boot-rest-api

REST API sample created by Spring Boot

Configuration

Add below two lines to STS.ini or eclipse.ini before -vmargs if needed

-vm
C:\Program Files\Java\jdk1.8.0_171\bin\javaw.exe

Build and Run

To create executable jar file run following command:

mvn clean package

To create executable jar without running any test:

mvn clean package -Dmaven.test.skip=true

To run jar file by default properties (or profile) file:

java -jar target/spring-boot-hibernate-datajpa.jar

To run jar file by specific profile (here is prod, which is fetching data from application-prod.properties) file:

java -jar target/spring-boot-hibernate-datajpa.jar --spring.profiles.active=prod

References

  1. Configure reverse engineering
  2. Customize hibernate code generating configuration
  3. Querydsl and RSQL
  4. RSQL parser
  5. Querydsl join
  6. To generate Querydsl code
  7. Profile based development
  8. Spring security role based response shaping
  9. SpEL based validation
  10. Spring Boot Server Sent Events
  11. Server Sent Events with Scheduler
  12. Media type based REST API versioning

About

REST API sample created by Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published