How to use Neon WSProxy with Prisma and Vercel Edge Functions.
I'm currently having trouble Neon's WS Proxy (Here) with Prisma, especially how I should fill out the variables and what URIs I should put in.
My
.env currently:
My db.ts:
There are errors but the errors just come from how the libraries cannot connect to the database.2 Replies
extended-salmon•2y ago
Can you clarify your question? Are you trying to connect Neon to a Postgres running locally?
If so, here's a working example: https://github.com/evanshortiss/neon-docker-wss-proxy-local
GitHub
GitHub - evanshortiss/neon-docker-wss-proxy-local
Contribute to evanshortiss/neon-docker-wss-proxy-local development by creating an account on GitHub.
absent-sapphireOP•2y ago
Thank you this was actually what I needed, I saw the repo on Google but never actually looked into it.
Is there a Next.JS and Prisma example?
nevermind