This project contains a minimal scaffold for a chat-based web application using a FastAPI backend and a React frontend.
The backend is located in the backend/ directory and uses FastAPI with SQLite via SQLAlchemy.
Create a virtual environment, install dependencies, and run the server:
cd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reloadThe frontend is located in the frontend/ directory and was bootstrapped manually. To start the development server:
cd frontend
npm install
npm startThis will launch the React app which can interact with the FastAPI backend.
- User registration with a username
- Submit an initial questionnaire answer
- Simple chat UI storing messages per conversation
- Endpoint to calculate a basic positivity score for a conversation