Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

leonh/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 related 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.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

AltStyle によって変換されたページ (->オリジナル) /