How jashwanth-xr/startup-progress-monitor works
Startup Progress Monitor records startup profiles and monthly metrics, then exposes analysis and rankings through a FastAPI API. Its main analysis flow loads metric history, builds growth trends, calculates runway and health, and evaluates alerts; a separate Streamlit dashboard presents sample startup data with charts and alert/score components. The API and dashboard appear to be separate paths: the sampled dashboard uses in-file data rather than calling the API. Some small modules, including the alert dispatcher and scoring normalizer, were not excerpted, so their runtime relationships are not asserted.
Main entry points: routes.py API Routes · connection.py DB Connection · init_db.py Table Setup · main.py FastAPI App
Components 19
API and Runtime
- FastAPI App
main.py - API Routes
api/routes.py
Startup Data
- Startup Model
models/startup.py - Metrics Model
models/metrics.py - DB Connection
database/connection.py - Table Setup
database/init_db.py - SQLite Store
startup_monitor.db
Analytics and Scoring
- Metric Trends
analytics/trends.py - Growth Rates
analytics/growth.py - Runway Estimate
analytics/runway.py - Health Score
scoring/health_score.py - Momentum Score
scoring/momentum.py - Score Normalizer
scoring/normalizer.py
Risk Alerts
- Alert Rules
alerts/rules.py - Alert Dispatcher
alerts/dispatcher.py
Dashboard
- Streamlit Dashboard
dashboard/app.py - Charts
dashboard/charts.py - Score and Alerts UI
dashboard/components.py
Other components
- User
Connections 21
- User → FastAPI App: requests
main.py - FastAPI App → Table Setup: initializes tables
main.py - FastAPI App → API Routes: registers routes
main.py - Table Setup → DB Connection: creates tables on
database/init_db.py - Table Setup → Startup Model: registers model
database/init_db.py - Table Setup → Metrics Model: registers model
database/init_db.py - DB Connection → SQLite Store: connects to
database/connection.py - Startup Model → DB Connection: uses model base
models/startup.py - Metrics Model → DB Connection: uses model base
models/metrics.py - API Routes → DB Connection: gets DB sessions
api/routes.py - API Routes → Startup Model: queries and creates
api/routes.py - API Routes → Metrics Model: queries and creates
api/routes.py - API Routes → Metric Trends: builds metric trends
api/routes.py - Metric Trends → Growth Rates: calculates growth
analytics/trends.py - API Routes → Runway Estimate: calculates runway
api/routes.py - API Routes → Health Score: calculates health
api/routes.py - API Routes → Momentum Score: calculates momentum
api/routes.py - API Routes → Alert Rules: runs alert rules
api/routes.py - User → Streamlit Dashboard: views dashboard
dashboard/app.py - Streamlit Dashboard → Charts: renders charts
dashboard/app.py - Streamlit Dashboard → Score and Alerts UI: renders score and alerts
dashboard/app.py