/large-data-fastapi-react

A simple example of a FastAPI backend with a React frontend that can handle large data.

Primary LanguageTypeScriptMIT LicenseMIT

large data fastapi react

A simple example of a FastAPI backend with a React frontend that can handle large data.

Screenshot of the App

Installation

  1. Create a virtual environment

    python3 -m venv .venv
  2. Activate the virtual environment

    # On Unix or MacOS
    source .venv/bin/activate
    
    # On Windows
    .venv\Scripts\activate
  3. Install the development dependencies

    pip install -e 'src[dev]'
  4. Run the FastAPI backend

    uvicorn src.large_data_api.main:create_app --factory --reload
  5. Install the frontend dependencies

    cd frontend
    yarn install
  6. Run the React frontend

    yarn start