This is the front-end codebase for the Mass IT Solutions web application demo.
To run the local demo:
- Make sure you have Node.js and Yarn installed.
- Enable corepack if you haven't already:
corepack enable - Run
npx corepack yarn installto fetch dependencies. - Run
npx corepack yarn startto start the web application.
This project is built on React using a micro-frontend architecture powered by Yarn Workspaces.
The data is currently mocked locally via GqlContext for demonstration purposes.
The frontend is divided into multiple feature packages located in the frontend/packages directory:
host: The main shell applicationcommon: Shared UI components, icons, and hookssystem,inventory,dashboard, etc.: Feature modules
This project uses Storybook for UI component development and testing in isolation.
To run Storybook locally:
- Navigate to the frontend directory:
cd frontend - Start the Storybook server:
npx corepack yarn storybook - Open your browser to the URL provided in the terminal (usually
http://localhost:6006) to view and interact with the component library.