Skip to content

Implementation of the Backend Microservice

You can find the implementation of the backend service in the multi-tenancy-backend repo.

The service has been developed with Quarkus:

  • Dependencies managed via Maven
  • REST Endpoints via Rest Easy

    • http://localhost:8081/category is protected and will return a response code '401' not authorized
    • http://localhost:8081/category/2/products is not protected and will return data from Postgres
    • Authentication Implementation
  • Persistence via Hibernate

  • The backend service uses different databases for different tenants as well as different AppID service instances
  • The Postgres and AppID instances need to be created first and they need to be configured (e.g. test users, sample data)
  • Configuration of Postgres and AppID
  • Check out these local development instructions how to develop, run and debug the backend and frontend services locally
  • The application runs on port 8081
  • CORS is enabled