/Dropwizard-gradle-boilerplate

Sample Dropwizard app => Write a dropwizard app using gradle as build system. Use Guice for dependency injecti. The app should follow REST conventions. The apis app should support are Get a list of all authors Get an author by id Given an author id return his books Get all the books Add a new book Add a new author App should use hibernate and mysql for data store. Please add unit test cases. App should have metrics integrated Get the app reviewed by your buddy. Follow up task, integrate transaction handling using sp-commons.

Primary LanguageJava

Dropwizard Gradle Starter Project

Starter project for Dropwizard using Gradle as the build system. Code is from the Dropwizard tutorial

Project uses ShadowJar to build an all-in-one, "fat jar".

Getting going

  1. Clone project

  2. Run

gradlew build
  1. Start project
java -jar build/libs/Dropwizard-gradle-boilerplate-1.0.0-all.jar server src/main/yml/server.yml
  1. Browse to:
  1. See the Next steps section of tutorial

Dropwizard-gradle-boilerplate

//TODO: other apis