Skip to content

Multi-Tenancy Spring Boot microservice, with Liquibase and PostgreSQL Row Level Security (RLS)

License

Notifications You must be signed in to change notification settings

wenqiglantz/multi-tenancy-spring-boot

Repository files navigation

Customer Service

Customer Service, provides APIs for customer CRUD service, with multi-tenancy support, implemented with Spring Boot, Liquibase, and PostgreSQL. For detailed article on how this microservice is implemented with multi-tenancy support, please check out my Medium story, https://betterprogramming.pub/multi-tenancy-support-with-spring-boot-liquibase-and-postgresql-d41942dc0639.

  • A. Prerequisites

      1. Windows/Linux based operating system
      1. Java 17
      1. Database has been created or assuming using an in-memory database for testing purpose
  • B. Getting Started & Run the Application

      1. Clone the git repo in to your local directory from github repository
      1. Open the command prompt and navigate to the main project directory.
      1. Copy postgre.jks file located under root to under "tmp" directory on your local env. Empty file merely for local testing purpose.
  • ** Run Application **

      1. Build the application:
      • mvn clean install
      1. Run the application:
      • java -jar target\customerservice-0.0.1-SNAPSHOT-exec.jar
  • C. Application Launch

About

Multi-Tenancy Spring Boot microservice, with Liquibase and PostgreSQL Row Level Security (RLS)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages