A simple ChatGPT-like application built with React (frontend) and FastAPI (backend).
Currently supports:
- Chat history
- Typing indicator
- Sending messages between frontend and backend
Planned extensions:
- AI integration (OpenAI API / AWS Bedrock)
- Improved UI/UX (auto-scroll, error handling)
git clone https://github.com/your-username/ai-chat-app.git
cd ai-chat-appcd chat-backend
python -m venv venv
source venv/bin/activate # (Windows: venv\Scripts\activate)
pip install fastapi uvicorn pydantic
uvicorn main:app --reloadServer runs at: http://127.0.0.1:8000
cd ../chat-frontend
npm install
npm startApp runs at: http://localhost:3000
- Frontend: React, TypeScript, CSS
- Backend: FastAPI, Pydantic
- Language: Python 3.10+, Node.js 18+
- Integrate AI (OpenAI GPT or AWS Bedrock)
- Store chat history in a database
- Deploy to AWS (ECS/Fargate, Lambda, API Gateway)