Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/scottaj/dropwizard-auth-multitenancy-example

Sample code for my blog post
https://github.com/scottaj/dropwizard-auth-multitenancy-example

dropwizard

Last synced: 27 days ago
JSON representation

Sample code for my blog post

Awesome Lists containing this project

README

        

# 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`
1. Create and migrate the DB `java -jar common/target/common-1.0.jar db migrate common/config.yml`
1. Run the auth API `java -jar authentication-api/target/authentication-api-1.0.jar server authentication-api/config.yml`
1. Run the main app `java -jar business-api/target/business-api-1.0.jar server business-api/config.yml`
1. Go to [http://localhost:8888](http://localhost:8888)