Sample code for my blog post
Switch branches/tags
Nothing to show
Clone or download
Latest commit d18d269 Aug 22, 2016

Dropwizard authentication, authorization, and multitenancy example

Sample code for my blog post: part 1, part 2, part 3

Running the app

  1. Run mvn package
  2. Create and migrate the DB java -jar common/target/common-1.0.jar db migrate common/config.yml
  3. Run the auth API java -jar authentication-api/target/authentication-api-1.0.jar server authentication-api/config.yml
  4. Run the main app java -jar business-api/target/business-api-1.0.jar server business-api/config.yml
  5. Go to http://localhost:8888