N
Neon9mo ago
passive-yellow

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!
Neon
Local Development with Neon - Neon Guides
Learn how to develop applications locally with Neon
2 Replies
frail-apricot
frail-apricot9mo 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
passive-yellow
passive-yellowOP9mo ago
Thank you Mahmoud for that info! I appreciate very much - and try that out

Did you find this page helpful?