Skip to content

feat: add FastAPI real-time chat template#32

Open
ydd039 wants to merge 9 commits into
codesphere-community:mainfrom
ydd039:add-fastapi-chat-template
Open

feat: add FastAPI real-time chat template#32
ydd039 wants to merge 9 commits into
codesphere-community:mainfrom
ydd039:add-fastapi-chat-template

Conversation

@ydd039
Copy link
Copy Markdown

@ydd039 ydd039 commented May 15, 2026

You are creating a FastAPI real-time chat template for the Codesphere templates repository.

Summary:
This PR adds a FastAPI real-time chat application template with WebSocket support.

Features:

  • Real-time messaging via WebSockets
  • User authentication with login credentials
  • Join/leave notifications broadcast to all users
  • Clean, responsive chat UI
  • CI pipeline for Codesphere deployment
  • Test suite included

Files included:

  • fastapi/main.py - FastAPI application with REST + WebSocket endpoints
  • fastapi/public/index.html - Chat frontend
  • fastapi/requirements.txt - Python dependencies
  • fastapi/metadata.json - Template metadata
  • fastapi/ci.yml - Codesphere CI pipeline
  • fastapi/start.sh - Startup script
  • fastapi/README.md - Documentation
  • fastapi/tests/ - Test suite

Closes #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FastAPI template - real-time chat application

1 participant