Local Next.js with Prisma/Postres Security
How can I run a local Next.js Dev server against NEON db - without exposing my credential - as this local dev server runs on HTTP (and not HTTPS)?
I was reading https://neon.tech/guides/local-development-with-neon but it doesn't go into this aspect explicitly. Thank you!
2 Replies
provincial-silver•7mo ago
You can have separate connection strings for local dev vs. production
This is done by using a branch and using it in local dev
other-emeraldOP•7mo ago
Thank you Mahmoud for that info! I appreciate very much - and try that out