This project consists of a React frontend and a FastAPI backend.
- Node.js and npm
- Python 3.9+
- uv (for python package management)
- Outspeed API key (https://dashboard.outspeed.com)
Open two terminal windows/tabs in the project root directory.
Go to the frontend directory
cd react-app
npm install
npm start
This will start the React development server at http://localhost:3000.
Go to the backend directory
cd fastapi-backend
In the backend, create a .env file and add your OUTSPEED_API_KEY
cp .env.example .env
uv sync # this will install all packages & create a virtual environment
source .venv/bin/activate
uvicorn main:app --reload --port 8080
This will start the FastAPI server at http://localhost:8080.
- Make sure your FastAPI
main.py
is in the root directory or adjust the command accordingly. - The React app expects the backend to be running at
http://localhost:8080
for the/token
endpoint.