Skip to content

manoj-pathak30/multi-tenacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

multi-tenacy

Multi-Tenacy with Spring

Download the source code from git. create DB schemas in mysql with for exp: tenant_1,tenant_2 create orders table in both schema.

CREATE TABLE orders ( id int not null auto_increment, date datetime not null, primary key(id) );

You can run the application and create records in both database using postman with below rest api call.

method POST

http://localhost:8080/orders/tenant_1

http://localhost:8080/orders/tenant_2

About

multi-tenacy with spring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published