Skip to content

radcrew/radcrew-unveiled

Repository files navigation

RadCrew Unveiled

Monorepo: Vite React site (frontend) and FAQ chatbot API (backend, FastAPI + Uvicorn).

Prerequisites

Install

From the repository root:

yarn install

(If you use npm instead: npm install.)

Dev (frontend + API)

From the repo root, one command starts both the Vite app and the chat API:

yarn dev
  • Frontend only: yarn dev:frontend
  • API only: yarn dev:backend (runs Uvicorn with reload on backend)

Environment files live in frontend/.env and backend/.env (copy from each package’s .env.example). Details: frontend/README.md, backend/README.md.

Chatbot flow

  • Browser calls POST /chat on the backend URL (VITE_CHATBOT_API_BASE_URL, default http://localhost:8787)
  • The API retrieves snippets from static site copy and optional GitHub Markdown
  • Hugging Face chat completion (with text-generation fallback) produces grounded answers
  • Weak retrieval (with no prior conversation history) returns a safe fallback with contact guidance

Tests

yarn test
yarn test:backend

Lint

yarn lint

See frontend/README.md.

Production

yarn build:backend runs compileall on backend/app as a quick syntax check only.

About

RadCrew.org website with LLM-powered chatbot

Topics

Resources

Stars

Watchers

Forks

Contributors