Skip to content

Unchanted/floatchat

Repository files navigation

🚀 SIH2025 Monorepo

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.


🛠 Prerequisites

Make sure you have installed:

  • Node.js ≥ 20
  • pnpm (workspace package manager)
  • uv (Python package/dependency manager)
  • Python ≥ 3.11

⚡ Setup

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 setup

▶️ Development

Run frontend + backend together:

pnpm dev

Run separately:

pnpm dev:frontend   # Start Next.js frontend
pnpm dev:backend    # Start FastAPI backend

📦 Adding shadcn/ui components

To add a new component to the frontend app:

pnpm dlx shadcn@latest add button -c apps/frontend

hari om

Components will be placed in apps/frontend/components/ui.


🎨 Tailwind

The tailwind.config.ts and globals.css are already set up for shadcn/ui.


✅ Using Components

Import components directly in your frontend code:

import { Button } from "@/components/ui/button";

floatchat

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •