> For the complete documentation index, see [llms.txt](https://docs.boston.gov/digital/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.boston.gov/digital/projects/project-monorepo-decoupling.md).

# Project: Monorepo Decoupling

Work Estimation

The goal is to separate each web app/service into their own repository so that the code and deploy process for each is isolated and independent.&#x20;

The core component of the monorepo are the following:

* Common Libraries (modules-js directory)
  * Each directory here creates an npm-like module that can be imported into each of the WebApp, as needed
  * These apps should be isolated, moved into their own repositories and create proper modules that can either be imported in some manner into the projects that needed.
  * If we create npm-like modules from these common pieces of code we can set version numbers for each minor/major updates, allowing us to pin-down WebApps so certain versions if they can go any further
* Deploy Code
  * Take the current deploy code and replace it with the new process created to go through AWS's CodeCommit
* Web Apps (services-js directory)

![](https://2423273671-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LVe9jGOEzVjCQBf8nyS%2Fuploads%2F0VqZjlWyp0sGI8QOmiPi%2FCOB%20-%20MonoRepo%20Decoupling.jpeg?alt=media\&token=ca8273f2-fda9-4e3b-a321-df7e73f56670)
