Spring Boot sample app to implement Dynamic Multi-tenancy with MongoDb.
This repository contains the code for the How to implement Dynamic Multi-tenancy with MongoDb and Spring Boot article.
For building and running the application you need:
There are several ways to run a Spring Boot application on your local machine.
-
execute the
main
method in thecom.assist.java.multitenancy.MultiTenancyApplication
class from your IDE. -
use the Spring Boot Gradle plugin like so:
gradlew bootrun