N
Neon7mo ago
other-emerald

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
provincial-silver
provincial-silver7mo 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-emerald
other-emeraldOP7mo ago
Thank you Mahmoud for that info! I appreciate very much - and try that out

Did you find this page helpful?