A simple demo for writing software using Clean Architecture, an architecture guideline written by Robert C. Martin in his book Clean Architecture.
It is a simple counter app, with increment and decrement buttons for increasing and decreasing the count.
All the business rules are encapsulated in /packages/core
, while the various cross-platform application interfaces are in /apps
.
This monorepo is managed using Turborepo.
Run the following command in the root directory to install all the packages required by the monorepo.
npm install
Run the following command to build all the packages in the monorepo.
npm run build
Run the following command to run all the tests in the monorepo.
npm run test