/ligt-api-sse

Experimenting with fast api and SSE server sent events

Primary LanguagePython

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