Skip to content
View llu77's full-sized avatar

Highlights

  • Pro

Block or report llu77

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
llu77/README.md

Chatbot Full-Stack Example

This repository contains a simple full-stack AI chatbot application using FastAPI for the backend, React (via Vite) for the frontend, and SQLite for data persistence.

Backend

  • FastAPI REST API with SQLite and SQLAlchemy.
  • Small rule-based chatbot that replies to common greetings and stores the conversation in a database.
  • /teach endpoint allows adding new trigger/response pairs at runtime for lightweight, continuous learning.
  • Run locally:
    cd backend
    uvicorn app.main:app --reload
  • Tests:
    pytest

Frontend

  • React application built with Vite.
  • Fetches existing chat history on load and communicates with backend via /api proxy.
  • Simple form lets users teach the bot new responses without retraining.
  • Development:
    cd frontend
    npm install
    npm run dev
  • Tests:
    npm test -- --run
  • Build for production:
    npm run build

Popular repositories Loading

  1. studio studio Public

    TypeScript 1

  2. mmmmm mmmmm Public

    1

  3. -lmm -lmm Public

    JavaScript 1

  4. llu77 llu77 Public

    Config files for my GitHub profile.

    HTML

  5. rehab rehab Public

    HTML

  6. monwah-bot monwah-bot Public

    My WhatsApp AI assistant - Monwah

    Python