john0isaac / large-data-fastapi-react

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

Repository from Github https://github.comjohn0isaac/large-data-fastapi-reactRepository from Github https://github.comjohn0isaac/large-data-fastapi-react

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

About

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

License:MIT License


Languages

Language:TypeScript 58.2%Language:Python 16.1%Language:JavaScript 15.1%Language:CSS 5.2%Language:HTML 5.0%Language:Shell 0.3%