#!/bin/bash

# Gold Trading Simulator - Backend Startup Script
# Uses simulated price feed - NO external API keys required!

cd "$(dirname "$0")"

echo "Starting Gold Trading Simulator Backend..."
echo "✓ Using simulated live price feed (no API calls)"
echo "✓ Listening on http://localhost:8000"
echo ""

# Activate virtual environment and start server
source ../.venv/bin/activate
PYTHONPATH=$(pwd) python -m uvicorn app.main:app --reload --port 8000
