Skip to content

A simple Redis Streams backed Chat app using Websockets, Asyncio and FastAPI/Starlette.

License

Notifications You must be signed in to change notification settings

hkk97/redis-streams-fastapi-chat

 
 

Repository files navigation

redis-streams-fastapi-chat

A simple demo of Redis Streams backed Chat app using Websockets, Python Asyncio and FastAPI/Starlette.

Requires Python version >= 3.6 and Redis

Overview

This project has been created to help understand some realted concepts. Python standard library asyncio, websockets (which are often cited as a classic use case for async python code), also Redis Streams. It is very much inteded to be an intentionally simple starting point rather than a usable product as is.

Installation

$ pip install -r requirements.txt

Usage

$ python chat.py

Docker compose

If you don't have redis installed you can use the docker-compose.yml file to set up a working environment.

About

A simple Redis Streams backed Chat app using Websockets, Asyncio and FastAPI/Starlette.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 55.7%
  • HTML 41.9%
  • Dockerfile 2.4%