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:

npm install

Dev (frontend + API)

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

npm run dev
  • Frontend only: npm run dev:frontend
  • API only: npm run 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, optional Contentful entries, 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

npm test
npm run test:backend

Lint

npm run lint

See frontend/README.md.

Production

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors