Frontend project for an online shop with basic shopping cart. It's built following Robert C. Martins Clean Architecture principles.
Its aims to have the application logic in a separate package, which is independent of the Views technicalities so that it can be easily maintained.
This is a monorepo using npm-workspaces. The root level npm tasks orchestrate operations on all packages using idiomatic npm task names.
-
Install dependencies
npm install
-
Start the frontend application in dev mode, and build the base package beforehand
npm run start
Run tests in all packages
npm run test