New to the project? Start with these in order:
- QUICK_START.md (5 min) - Get running in 5 minutes
- DOCKER_POSTGRES_GUIDE.md (15 min) - Understand databases
- ACCESS_USER_DATA.md (20 min) - Access reviews and predictions
| Document | Purpose | Read Time |
|---|---|---|
| INTEGRATION_SUMMARY.md | Overview of all changes and new features | 10 min |
| DOCKER_POSTGRES_GUIDE.md | Docker and PostgreSQL setup guide | 15 min |
| ACCESS_USER_DATA.md | How to access and analyze user reviews | 20 min |
| QUICK_START.md | Quick reference for common tasks | 5 min |
| ARCHITECTURE_DIAGRAMS.md | Visual diagrams of system architecture | 10 min |
| .env.example | Environment configuration template | 2 min |
| Document | Purpose | Read Time |
|---|---|---|
| README.md | Project overview and goals | 5 min |
| DEPLOYMENT.md | Production deployment options | 10 min |
| PRODUCTION_ARCHITECTURE.md | Architecture decisions | 10 min |
| File | Purpose |
|---|---|
Dockerfile |
Builds the application container |
docker-compose.staging.yml |
Local development with PostgreSQL |
docker-compose.prod.yml |
Production setup (app + db + admin UI) |
.env.example |
Configuration template |
| Script | Purpose | Usage |
|---|---|---|
scripts/view_reviews.py |
View and export reviews | python scripts/view_reviews.py --help |
scripts/init_db.py |
Database management | python scripts/init_db.py --help |
scripts/setup_wizard.py |
Interactive setup | python scripts/setup_wizard.py |
- Read: QUICK_START.md
- Run:
streamlit run dashboard/app.py - Default: Uses SQLite (no setup needed)
- Read: DOCKER_POSTGRES_GUIDE.md - Part 1
- Run:
docker-compose -f docker-compose.staging.yml up - Access: http://localhost:8501
- Read: DEPLOYMENT.md
- Read: DOCKER_POSTGRES_GUIDE.md - Part 4
- Choose provider: Neon, Supabase, Railway, or Render
- Set
DATABASE_URLenvironment variable
- View in app: Go to "Reviews & Deploy" tab
- Export via CLI:
python scripts/view_reviews.py --all - Read: ACCESS_USER_DATA.md for all methods
- CLI:
python scripts/view_reviews.py --predictions - Python: Use pandas with
load_reviews()function - SQL: Direct database queries
- Read: ACCESS_USER_DATA.md - Method 4
- Read: ARCHITECTURE_DIAGRAMS.md
- Read: PRODUCTION_ARCHITECTURE.md
- Read: DOCKER_POSTGRES_GUIDE.md - Part 2
- Comparison: QUICK_START.md - Database Options section
- Setup: DOCKER_POSTGRES_GUIDE.md - Part 4
- Setup: ACCESS_USER_DATA.md - Connecting BI Tools section
- Dashboard: QUICK_START.md - Troubleshooting section
- Docker: DOCKER_POSTGRES_GUIDE.md - Troubleshooting section
- Data: ACCESS_USER_DATA.md - Troubleshooting section
- Backup: ACCESS_USER_DATA.md - Backup & Recovery section
- Export:
python scripts/view_reviews.py --all - Automated: DOCKER_POSTGRES_GUIDE.md - Part 5.3
- App → "Reviews & Deploy" tab
- See reviews, export CSV, view stats
- No technical knowledge needed
- Details
python scripts/view_reviews.py --all- View reviews, export CSV, show statistics
- Details
from src.review_store import load_reviews
import pandas as pd
df = pd.DataFrame(load_reviews(limit=1000))- Full control, can do custom analysis
- Details
from src.review_store import get_engine
from sqlalchemy import text
# Write custom SQL queries- For power users and analysts
- Details
- QUICK_START.md - 5 minutes
- Run:
streamlit run dashboard/app.py - Submit a test review in the app
- Export reviews via dashboard button
- DOCKER_POSTGRES_GUIDE.md - Part 1 & 2
- Try Docker Compose:
docker-compose -f docker-compose.staging.yml up - ACCESS_USER_DATA.md - Method 2 & 3
- Try CLI scripts and Python code
- PRODUCTION_ARCHITECTURE.md
- DOCKER_POSTGRES_GUIDE.md - Part 4
- Set up managed PostgreSQL
- Deploy to production
- ARCHITECTURE_DIAGRAMS.md - Understand full system
- DEPLOYMENT.md
- Production hardening
- Set up CI/CD pipeline
- Database migrations
- Authentication and monitoring
storage-forecaster/
│
├── 📄 DOCUMENTATION (Top-level)
│ ├── README.md (Project overview)
│ ├── QUICK_START.md ⭐ (START HERE)
│ ├── INTEGRATION_SUMMARY.md ⭐ (NEW - Overview)
│ ├── DOCKER_POSTGRES_GUIDE.md ⭐ (NEW - Docker & DB)
│ ├── ACCESS_USER_DATA.md ⭐ (NEW - Data Access)
│ ├── ARCHITECTURE_DIAGRAMS.md ⭐ (NEW - Diagrams)
│ ├── DEPLOYMENT.md (Original)
│ ├── PRODUCTION_ARCHITECTURE.md (Original)
│ └── DOCUMENTATION_INDEX.md (This file)
│
├── 🐳 DOCKER & CONFIG
│ ├── Dockerfile
│ ├── docker-compose.staging.yml
│ ├── docker-compose.prod.yml ⭐ (NEW)
│ └── .env.example (Updated)
│
├── 📚 PYTHON SCRIPTS
│ ├── scripts/
│ │ ├── view_reviews.py ⭐ (NEW - View reviews)
│ │ ├── init_db.py ⭐ (NEW - DB management)
│ │ ├── setup_wizard.py ⭐ (NEW - Setup)
│ │ └── ...existing scripts
│ │
│ ├── dashboard/
│ │ └── app.py (Updated with export feature)
│ │
│ └── src/
│ ├── review_store.py (Data access layer)
│ └── settings.py (Configuration)
│
├── 📦 MODELS & DATA
│ ├── models/ (Saved ML models)
│ ├── data/ (Datasets and databases)
│ └── reports/ (Export directory)
│
└── 🧪 TESTS
└── tests/ (Unit tests)
| Task | Command |
|---|---|
| Start app (SQLite) | streamlit run dashboard/app.py |
| Start with Docker | docker-compose -f docker-compose.staging.yml up |
| View recent reviews | python scripts/view_reviews.py |
| Export all reviews | python scripts/view_reviews.py --all |
| Show statistics | python scripts/view_reviews.py --stats |
| Export predictions | python scripts/view_reviews.py --predictions |
| Check DB health | python scripts/init_db.py health |
| Setup database | python scripts/init_db.py setup |
| Interactive setup | python scripts/setup_wizard.py |
| Help on any script | python script.py --help |
- SQLite - Local development, no setup
- PostgreSQL (Docker) - Local testing, production-like
- PostgreSQL (Managed) - Production deployment
- Reviews - User feedback and ratings
- Predictions - Forecast events and results
- User Hash - Anonymized user identifier (SHA256)
- Streamlit dashboard UI
- Command-line scripts
- Python code with pandas/sqlalchemy
- Direct SQL queries
- Local development (SQLite)
- Local Docker (PostgreSQL)
- Cloud platforms (Neon, Supabase, Railway, Render)
- Self-hosted (VM, Kubernetes)
A: Read QUICK_START.md first (5 minutes)
A: See ACCESS_USER_DATA.md - 4 different methods
A: SQLite for development, PostgreSQL for production. See DOCKER_POSTGRES_GUIDE.md Part 2
A: See DEPLOYMENT.md and DOCKER_POSTGRES_GUIDE.md Part 4
A: Yes! Users are anonymized with SHA256 hashes. See ACCESS_USER_DATA.md - Data Privacy section
A: Yes! See ACCESS_USER_DATA.md - Connecting BI Tools section
A: See QUICK_START.md - Troubleshooting section
| Topic | Location |
|---|---|
| Getting started | QUICK_START.md |
| Docker setup | DOCKER_POSTGRES_GUIDE.md |
| Data access | ACCESS_USER_DATA.md |
| Architecture | ARCHITECTURE_DIAGRAMS.md |
| Deployment | DEPLOYMENT.md |
| Production design | PRODUCTION_ARCHITECTURE.md |
| Code reference | Check docstrings in src/review_store.py |
- ✅ INTEGRATION_SUMMARY.md - Overview
- ✅ DOCKER_POSTGRES_GUIDE.md - Complete Docker & PostgreSQL guide
- ✅ ACCESS_USER_DATA.md - 4 ways to access user data
- ✅ QUICK_START.md - Quick reference
- ✅ ARCHITECTURE_DIAGRAMS.md - Visual diagrams
- ✅ DOCUMENTATION_INDEX.md - This file
- ✅ scripts/view_reviews.py - View and export reviews
- ✅ scripts/init_db.py - Database management
- ✅ scripts/setup_wizard.py - Interactive setup
- ✅ docker-compose.prod.yml - Production setup with pgAdmin
- ✅ .env.example - Updated with all options
- ✅ Export CSV button in Reviews tab
- ✅ Better review viewing experience
✅ SQLite - Works out of the box (local development)
✅ Docker - Pre-configured for PostgreSQL testing
✅ PostgreSQL - Ready for production deployment
✅ Managed Databases - Guide for Neon, Supabase, Railway, Render
✅ User Reviews - Automated capture in database
✅ Prediction Logs - Track all forecast events
✅ Data Export - Multiple ways to access data
✅ CLI Tools - Scripts for database management
✅ Documentation - Complete guides and examples
✅ Diagrams - Visual system architecture
- Read QUICK_START.md (5 min)
- Run
streamlit run dashboard/app.py - Try
python scripts/view_reviews.py --help - Choose your database (SQLite dev vs PostgreSQL prod)
- Read DOCKER_POSTGRES_GUIDE.md for your choice
- Deploy when ready!
Created with 💙 to help you integrate Docker, PostgreSQL, and user data management!
Last Updated: June 10, 2026