TradingLab is a split Docker Compose project with a Python backend service and a Node/Vite frontend service.
TradingLab/
├── docker-compose.yml
├── trading_app_backend/
│ ├── Dockerfile
│ ├── requirements.txt
│ └── src/
└── trading_app_frontend/
├── Dockerfile
├── package.json
├── pnpm-lock.yaml
├── index.html
└── src/
trading_app_backend/contains the Python backend. Python dependencies belong intrading_app_backend/requirements.txtand are installed by the backend Dockerfile.trading_app_frontend/contains the Vite frontend. Node dependencies belong intrading_app_frontend/package.jsonand are installed with pnpm in the frontend Dockerfile.docker-compose.ymlonly orchestrates the services. It does not install or declare application dependencies.
docker compose build
docker compose up -dThe frontend is served at http://localhost. The backend listens on http://localhost:5000.
To view logs:
docker compose logs -fTo stop the stack:
docker compose downThe backend starts with Flask via src/main.py. The frontend builds with Vite and is served from an Nginx container.
Some historical source files reference data/backtesting functionality whose model modules are not present in this repository snapshot. Those broken runtime imports are not registered by the application until the real data layer exists.