scottaj / dropwizard-auth-multitenancy-example

Sample code for my blog post

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Sample code for my blog post


Languages

Language:Java 78.1%Language:JavaScript 17.0%Language:HTML 4.9%