Skip to content

rinomaki/react-fastapi-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“„ README.md

AI Chat App (React + FastAPI)

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)

πŸš€ Getting Started

1. Clone the repository

git clone https://github.com/your-username/ai-chat-app.git
cd ai-chat-app

2. Backend (FastAPI)

cd chat-backend
python -m venv venv
source venv/bin/activate   # (Windows: venv\Scripts\activate)
pip install fastapi uvicorn pydantic

uvicorn main:app --reload

Server runs at: http://127.0.0.1:8000

3. Frontend (React)

cd ../chat-frontend
npm install
npm start

App runs at: http://localhost:3000


πŸ›  Tech Stack

  • Frontend: React, TypeScript, CSS
  • Backend: FastAPI, Pydantic
  • Language: Python 3.10+, Node.js 18+

πŸ“Œ Future Plans

  • Integrate AI (OpenAI GPT or AWS Bedrock)
  • Store chat history in a database
  • Deploy to AWS (ECS/Fargate, Lambda, API Gateway)

About

A simple ChatGPT-like application built with React and FastAPI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors