Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/scottaj/dropwizard-auth-multitenancy-example
- Owner: scottaj
- Created: 2016-06-27T00:51:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-22T16:02:09.000Z (over 8 years ago)
- Last Synced: 2024-11-29T06:38:17.173Z (about 1 month ago)
- Topics: dropwizard
- Language: Java
- Size: 108 KB
- Stars: 15
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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)