All Projects → agschnitzer → multitenant

agschnitzer / multitenant

Licence: MIT license
Multi-Tenant Spring Boot Application with separate databases using Hibernate and H2.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to multitenant

Multi Tenant
Run multiple websites using the same Laravel installation while keeping tenant specific data separated for fully independent multi-domain setups, previously github.com/hyn/multi-tenant
Stars: ✭ 2,304 (+15260%)
Mutual labels:  multi-tenant, multi-tenancy, tenant
multi-tenancy-devise
mtdevise adds basecamp style user logins to your ruby on rails application.
Stars: ✭ 27 (+80%)
Mutual labels:  multi-tenant, multi-tenancy
springboot-schema-per-tenant
Seed for achieving multi-tenancy (single pooled schema-per-tenant) using SpringBoot and Hibernate
Stars: ✭ 75 (+400%)
Mutual labels:  hibernate, multi-tenancy
eixample
Multi-Tenant .NET 6 Architecture (Angular, Vue, React)
Stars: ✭ 61 (+306.67%)
Mutual labels:  multi-tenant, multi-tenancy
awesome-landlord
A simple, single database multi-tenancy solution for Laravel 5.2+
Stars: ✭ 41 (+173.33%)
Mutual labels:  multi-tenant, multi-tenancy
multi-tenant
Spring boot + Hibernate + Postgresql的多租户实现Demo
Stars: ✭ 110 (+633.33%)
Mutual labels:  hibernate, multi-tenancy
multitenant-microservices-demo
Full Isolation in Multi-Tenant SaaS with Kubernetes + Istio
Stars: ✭ 57 (+280%)
Mutual labels:  multi-tenant, multi-tenancy
Tenancy
Automatic multi-tenancy for Laravel. No code changes needed.
Stars: ✭ 2,133 (+14120%)
Mutual labels:  multi-tenancy, tenant
Kyuubi
Kyuubi is a unified multi-tenant JDBC interface for large-scale data processing and analytics, built on top of Apache Spark
Stars: ✭ 363 (+2320%)
Mutual labels:  multi-tenant, multi-tenancy
Multi Tenant App Demo
Demonstrates the discriminator field (shared schema) based multi-tenant application using Spring Boot & Hibernate 5.
Stars: ✭ 57 (+280%)
Mutual labels:  multi-tenant, hibernate
K8spin Operator
K8Spin multi-tenant operator - OSS
Stars: ✭ 175 (+1066.67%)
Mutual labels:  multi-tenant, multi-tenancy
multi-tenant-support
Build a highly secure, no data leak, multi-tenant rails app
Stars: ✭ 27 (+80%)
Mutual labels:  multi-tenant, tenant
Townhouse
A multi-tenant Laravel app for listing property rentals
Stars: ✭ 218 (+1353.33%)
Mutual labels:  multi-tenant, multi-tenancy
go-saas
go data framework for saas(multi-tenancy)
Stars: ✭ 101 (+573.33%)
Mutual labels:  multi-tenancy, tenant
go-poly-tenant
Go + Polymer MultiTenancy on AppEngine
Stars: ✭ 22 (+46.67%)
Mutual labels:  tenant
spring-blog
A blogging full-stack web application project made with Spring Boot for Codeup students to use as a reference during the Capstone process.
Stars: ✭ 44 (+193.33%)
Mutual labels:  hibernate
BlazorEFCoreMultitenant
Examples of multitenancy using EF Core and Blazor.
Stars: ✭ 67 (+346.67%)
Mutual labels:  tenant
o365
O365管理系统是一个以java语言开发的基于Microsoft Graph Restful API的多全局管理系统,理论上支持任何Office全局的管理(A1,A3,A1P,E3,E5等),你可以很方便的使用它来批量添加,批量删除,批量启用,批量禁用,搜索和查看用户,绑定解绑域名,生成邀请码,邀请朋友注册,提升和收回管理员权限,更新密钥,查看订阅,分配订阅(创新用户时),查看多全局报告
Stars: ✭ 281 (+1773.33%)
Mutual labels:  h2-database
SpringSecuritySocialLoginExample
This application will provider user to login with social login( facebook, linkedin and twitter) and form login as well.
Stars: ✭ 39 (+160%)
Mutual labels:  hibernate
daikon
Common modules shared by Talend applications
Stars: ✭ 14 (-6.67%)
Mutual labels:  multi-tenant

Multi-Tenant Spring Boot Application License: MIT build

A Spring Boot application that utilises a multi-tenancy architecture by providing multiple databases, one for each tenant.

Tenants, respectively users, are stored in the default database db.mv.db. All requests to /api/v1/user are accessing it while the rest is accessing the db of the authenticated user.

How to initialise

In order to use the application, a user must be logged in. This authentication process returns a Bearer token which is used for all other requests.

1. POST request to api/v1/user/signup.

{
  "email": "[email protected]",
  "password": "asdfasdfasdf",
  "confirmation": "asdfasdfasdf"
}

2. POST request to api/v1/user/authentication

{
  "email": "[email protected]",
  "password": "asdfasdfasdf"
}

How to use

The application opens a h2-console to easily manage all available databases. Each one is generated right after the first access / request to it. The filename is the hashed email adress database/[hashed_email].mv.db.

  • Movie endpoint
    • POST api/v1/movie:
    • GET api/v1/movie/{id}:
  • User endpoint
    • PATCH api/v1/user/email

POST request to api/v1/movie

{
  "title": "The Hitchhiker's Guide to the Galaxy",
  "runtime": 109,
  "releaseDate": "2005-04-28"
}

PATCH request to api/v1/user/email

{
  "email": "[email protected]"
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].