Skip to content

vitaB/spring-modular-encapsulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prepare database

  • create DB docker run --name postgres-test-db -e POSTGRES_PASSWORD=admin -p 5432:5432 -d postgres
  • create schema for moduleA
CREATE TABLE modulea.entitya ( ID SERIAL PRIMARY KEY, FirstName varchar(255) ); 
  • create schema for moduleB
CREATE TABLE moduleb.entityb ( ID SERIAL PRIMARY KEY, LastName varchar(255) );

publish modules to maven local

  • execute gradle publishToMavenLocal in moduleA directory
  • execute gradle publishToMavenLocal in moduleB directory

About

boilerplate for modular spring app with multiple databases

Topics

Resources

Stars

Watchers

Forks

Languages