I'm working on a project which is probably going to grow with time. So, I decided to break this into different projects running on different domains and different team will handle different sub-project. I thought it would be less headache to the teams if they do not have to keep concern about the other part of the main project(say, b2b project is not concern to the b2c project). Well, I thought that way. But, the problem is the whole project(b2b + b2c + apis + ..) is running on same database. Was that a bad decision, as some things look troublesome? I'm not that good architect(as a matter of fact, just a junior programmer). Any kind of discussion or tips would be great help to me.