My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How you work with multiple micro-repos in a Node application?

Nicos Tsourektsidis's photo
Nicos Tsourektsidis
·Jun 10, 2016

We have a client side app which is based in React JS framework. Recently we created a new application and we wanted these apps to share components. For example a UI library. We have them in the same repo and webpack handles their bundling.

We want to break this big repo into smaller. Each of them will have a dedicated environment for debugging and testing. For example we can create a small library for various validation functions.

Something that concerns us is how we can debug these individual repos together. How to properly setup the development environment. How we can have them all locally and when we make a change into one, to have the others get this change and immediately see if it works or not. What tools we can use to switch from one project to another?