cd backendYou'll need to set up environment variables in your repo's .env file. Copy the .env.example file to .env.
To start with the basic examples, you'll just need to add your OpenAI API key and Auth0 credentials.
- To start with the examples, you'll just need to add your OpenAI API key and Auth0 credentials for the Web app.
Next, install the required packages using your preferred package manager, e.g. uv:
uv syncNow you're ready to start and migrate the database:
# start the postgres database
docker compose up -dInitialize FGA store:
source .venv/bin/activate
python -m app.core.fga_initNow you're ready to run the development server:
source .venv/bin/activate
fastapi dev app/main.pyNext, you'll need to start an in-memory LangGraph server on port 54367, to do so open a new terminal and run:
source .venv/bin/activate
uv pip install -U langgraph-api
langgraph dev --port 54367 --allow-blocking