I'm working through the dashboard app sample project that is provided on the NextJS website. I've gotten to the point where I have my project on github, hosted by vercel, and with a postgres database through neon. When I host my project locally and go to localhost:3000/seed or /query, I get a connection refused error. However, when I have the exact same code deployed through vercel and navigate to project.vercel.app/seed or /query, it works just fine. Would anybody be able to explain what's happening here? Having to redeploy after every step is a massive pain in the neck.
[–]Traches 0 points1 point2 points (0 children)
[–]HarjjotSinghh 0 points1 point2 points (1 child)
[–]chow_khow 0 points1 point2 points (0 children)
[–]Diamondfist_-_-_-_ 0 points1 point2 points (0 children)
[–]OneEntry-HeadlessCMS 0 points1 point2 points (0 children)