Deployment Prep
Prepare Chart Rhythms for Vercel.
This page tracks what must be checked before publishing the MVP. The goal is a clean public preview with no exposed keys, no broken pages, and no empty-looking stock reports.
Before Deploy
Launch checks
✅ Run npm run build locally
✅ Make sure .env.local is not committed
✅ Add Alpha Vantage key to Vercel environment variables
✅ Keep Finnhub empty or regenerate the exposed key before using it
✅ Test /stocks/NVDA, /stocks/MSFT, /stocks/SPY
✅ Test /strategy, /feedback, /test, /launch
✅ Check mobile menu
✅ Confirm legal pages exist
Environment Variables
Add these in Vercel
NEWS_API_KEY
empty
NEWS_PROVIDER
alpha_vantage
ALPHA_VANTAGE_API_KEY
your private Alpha Vantage key
AI_PROVIDER
algorithm
AI_API_KEY
empty for now
FINNHUB_API_KEY
empty or regenerated private key
Important key safety
Do not publish API keys in GitHub or paste them into public places. Your Finnhub key appeared in a screenshot earlier, so regenerate it before using Finnhub in production.
Local build test
Run before deploying
npm run build
If the build passes locally, then the project is much more likely to deploy cleanly on Vercel.
