This document describes the local development setup for OppTrax.
- Python 3.10 or higher
- Node.js 18 or higher
- MongoDB instance (local or Atlas cloud)
- Ngrok installed for local webhook routing
-
Backend Setup: Navigate to the
Backenddirectory, configure the environment variables inside a.envfile, and start the development server:pip install -r requirements.txt python main.py
-
Ngrok Tunneling: Route external webhook calls to your local instance:
ngrok http 8000
Update the
NGROK_BASE_URLin your.envfile with the generated HTTPS tunnel address. -
Frontend Setup: Navigate to the
Frontenddirectory, install package dependencies, and run Vite:npm install npm run dev