This is a monorepo containing two applications:
- Backend - A Next.js application
- Web - A React + Vite application
monorepo/
├── apps/
│ ├── backend/ # Next.js application
│ └── web/ # React + Vite application
└── package.json # Root workspace configuration
- Node.js (v16 or later)
- npm (v7 or later) or yarn
Clone the repository and install dependencies:
git clone <repository-url>
cd monorepo
npm installnpm run dev:backendThe backend application will be available at http://localhost:3000.
npm run dev:webThe web application will be available at http://localhost:5173.
npm run build:backendnpm run build:web- We use the shadcn Toggle Group (segmented control) with three options and icons (AlignLeft, AlignCenter, AlignRight) in PatchControls.tsx.
- The UI wrappers are located at apps/web/src/components/ui/toggle-group.tsx (ToggleGroup, ToggleGroupItem).
MIT