How To Split a Monolith Into Microservices with Jitar

<p>In my&nbsp;previous article, I wrote about my journey towards a just-in-time architectural style that enabled me to split up a monolith into microservices without refactoring. The key solution I found was a combination of automated API creation and a flexible segmentation strategy. This has led to the creation of&nbsp;Jitar, a distributable runtime for JavaScript (and TypeScript) applications.</p> <p>In this article, I want to dive deeply into building a splittable monolith and split it into microservices using the Jitar runtime. We&rsquo;ll use the small online store example from the previous article. I recommend reading the previous article if you haven&rsquo;t done that yet, but it isn&rsquo;t required. The application and transformation will be explained step by step so you can follow along. The final result is also available on&nbsp;GitHub.</p> <p>Before starting, ensure you have&nbsp;Node.js&nbsp;version 18.7 or higher installed on your machine. I like to be type-safe, so I&rsquo;ll use TypeScript for the example. Make sure you have version 4.4.2 or higher installed. I use&nbsp;VS Code&nbsp;as an editor, but feel free to use another. Also, I work on a MacBook. The commands in this article work on Mac OS and Linux. Ready, set, go!</p> <h1>Step 1: Setup the Application</h1> <p>Let&rsquo;s take a closer look at the online store first. Although the company behind the store is small, it&rsquo;s divided into four departments. Each with its own unique responsibility.</p> <p><a href="https://betterprogramming.pub/how-to-split-a-monolith-into-microservices-with-jitar-95caf6f81e08">Click Here</a></p>