This repo is a monorepo containing:
- Frontend → Next.js + Tailwind + shadcn/ui
- Backend → FastAPI (Python, managed with
uv)
It uses pnpm workspaces + turbo for frontend tooling, and concurrently for running frontend & backend together.
Make sure you have installed:
Clone the repo and run:
# Install Node.js dependencies (frontend + tooling)
pnpm install
# Install backend dependencies
cd apps/backend
uv sync
cd ../..Or run the shortcut:
pnpm run setupRun frontend + backend together:
pnpm dev- Frontend → http://localhost:3000
- Backend → http://localhost:8000
Run separately:
pnpm dev:frontend # Start Next.js frontend
pnpm dev:backend # Start FastAPI backendTo add a new component to the frontend app:
pnpm dlx shadcn@latest add button -c apps/frontendhari om
Components will be placed in apps/frontend/components/ui.
The tailwind.config.ts and globals.css are already set up for shadcn/ui.
Import components directly in your frontend code:
import { Button } from "@/components/ui/button";floatchat