kjpopov / ligt-api-sse

Experimenting with fast api and SSE server sent events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Light API and Live data stream

Very light fast api on top of sql light database, and live stream via SSE (server sent events)

Installation

  1. Clone the repository.
  2. Install the required dependencies:
    pip install -r requirements.txt

Usage

To start the FastAPI server using Uvicorn, run the following command:

uvicorn main:app --reload

Open http://localhost:8000/ or http://localhost:8000/docs in your browser

About

Experimenting with fast api and SSE server sent events


Languages

Language:Python 51.7%Language:JavaScript 37.7%Language:HTML 10.6%