You have created an dropwizard application using lazybones. This application uses dropwizard 0.8.0 version.
If you are not already familiar with Dropwizard, check out Getting Started.
<proj>
+- gradle
|
+- newrelic
|
+- src
+- main
| +- java
| | +- your.package.structure
| | +- db
| | +- health
| | +- jersey
| | +- model
| | +- resources
| +- resources
|
+- test
+- java
| +- // junit tests in here!
+- resources
+- fixtures
To test the example application run the following commands.
-
To run the tests run
gradle test
-
To package the example run.
gradle shadowJar
-
To run the application run.
gradle run
Use either a browser or a REST client such as PostMan
-
You RESTful APIs are available here:
-
Static HTML pages are here:
-
Swagger API are here:
-
Continuous Deployment wise, this project includes:
Dockerfile to help it to build a docker image
wercker.yml to help this run at wercker CI
Procfile to help this application to be deployed in Heroku
Use default IntelliJ setting for Java. If you use Eclipse or other IDE, please follow the example code style in this project.