/gradle-springboot-jersey

Sample of a webapp using gradle, Springboot, Jersey and AngularJS

Primary LanguageCSS

testwebapp

Java project structure for building Web Application using

  • Gradle
  • Spring Boot
  • Jersey framework for REST API
  • mybatis or hibernate for the persistence part
  • AngularJS for the frontend part
  • Grunt as frontend compiler

Run with gradle; into testwebapp:

gradle bootRun

Override system properties; into testwebapp:

gradle bootRun -Pargs=--spring.datasource.url=jdbc:postgresql://localhost:5432/testwebapp?user=testwebapp,--spring.datasource.password=testwebapp,--server.port=8081

gradle bootRun -Pargs=--spring.datasource.url=jdbc:mysql://sql2.freemysqlhosting.net:3306/sql2206715,--spring.datasource.username=sql2206715,--spring.datasource.password=rA2*jM7*,--spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver,--server.port=8081

Run with Docker-Compose:

docker-compose up -d