Skip to content

Restore DB-backed frontend data#37

Merged
paulbtw merged 1 commit into
masterfrom
paulbtw/pr-use-db-frontend
Mar 20, 2026
Merged

Restore DB-backed frontend data#37
paulbtw merged 1 commit into
masterfrom
paulbtw/pr-use-db-frontend

Conversation

@paulbtw
Copy link
Copy Markdown
Owner

@paulbtw paulbtw commented Mar 20, 2026

Restores the frontend APIs to read from the database instead of the S3-exported JSON fallback. /api/stats is routed back through getStoreStats(), and the store-data helpers no longer fall back to marker.json or stats.json. I verified locally with the main .env that both /api/stores and /api/stats return 200 in production mode. The Vercel preview for this branch still returns 500 on both endpoints, which points to a Vercel DB env/connectivity issue that needs to be resolved before merge.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Mar 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mcbrokenio Ready Ready Preview, Comment Mar 20, 2026 7:48am

@paulbtw paulbtw merged commit f290fa8 into master Mar 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant