-
Python 3.10+ → https://www.python.org/downloads/
- During install → CHECK "Add Python to PATH"
- Verify: Open terminal →
python --version
-
Node.js 18+ → https://nodejs.org/ (LTS version)
- Verify: Open terminal →
node --version
- Verify: Open terminal →
-
MongoDB Community Server → https://www.mongodb.com/try/download/community
- Choose: Windows x64 → MSI package
- During install:
- Choose "Complete" install
- CHECK "Install MongoDB as a Service"
- After install MongoDB auto-starts on port 27017
Open PowerShell or Command Prompt inside this folder.
pip install -r requirements.txtcd 06_Frontend
npm install
cd ..cd 03_Core_Application
python migrate_to_mongo.py
cd ..This creates a ready-to-use demo account and loads market data from CSV.
cd 03_Core_Application
python -m uvicorn api:app --host 0.0.0.0 --port 8000 --reloadKeep this terminal open.
Open a new terminal in the project folder:
cd 06_Frontend
npm run devKeep this terminal open too.
http://localhost:5173/
Use the demo account:
Email: demo@quantrisk.com
Password: demo123
Or register a new account with your own email.
| Problem | Solution |
|---|---|
python not found |
Reinstall Python, CHECK "Add to PATH" |
npm not found |
Reinstall Node.js from https://nodejs.org/ |
MongoDB connection refused |
Open Services (Win+R → services.msc) → Find "MongoDB Server" → Right click → Start |
bcrypt error during migrate |
Run: pip install bcrypt==4.0.1 then retry |
Network Error in browser |
Backend not running — start Terminal 1 first |
Port 5173 already in use |
Run: npx kill-port 5173 then restart frontend |
Incorrect password on login |
Use demo@quantrisk.com / demo123 or register a new account |
Market data loading forever |
Yahoo Finance may be blocked on your network — the app will use local data automatically |
| Layer | Technology |
|---|---|
| Frontend | React 19, Vite, Recharts, Plotly |
| Backend | FastAPI, Python |
| Database | MongoDB |
| ML Models | XGBoost, GARCH, GJR-GARCH |
| Data Feed | Yahoo Finance (with offline fallback) |
| Service | Port | URL |
|---|---|---|
| Backend | 8000 | http://localhost:8000 |
| Frontend | 5173 | http://localhost:5173 |
| MongoDB | 27017 | mongodb://localhost:27017 |