A monorepo containing the frontend applications and shared packages for EigenWatch. This project is built using Turborepo to manage the workspace and optimize build tasks.
This repository is organized as a monorepo with the following structure:
apps/dashboard: The main dashboard application for EigenWatch.apps/web: The public-facing web application.apps/docs: The documentation site.
packages/ui: A shared React component library used across applications.packages/eslint-config: Shared ESLint configurations (includeseslint-config-nextandeslint-config-prettier).packages/typescript-config: Sharedtsconfig.jsons used throughout the monorepo.
- Node.js: Version 18 or higher is required.
- npm: This project uses
npmas the package manager (version 10.8.2 or compatible).
Clone the repository and install dependencies:
git clone <repository-url>
cd eigenwatch-frontend
npm installTo start the development server for all applications:
npm run devThe following commands can be run from the root of the repository:
npm run build: Build all apps and packages.npm run dev: Start the development server. This is an interactive script that asks you which app you want to run (web,docs, ordashboard). You can also pass the app name as an argument (e.g.,npm run dev web). It automatically detects available ports.npm run lint: Run ESLint across all apps and packages.npm run format: Format code using Prettier.npm run check-types: Run TypeScript type checking across the workspace.