Replies: 1 comment
-
We have recently changed from having a single Postgres provider through Vercel, to instead having many different Postgres options (or other databases) through the Vercel Marketplace. This means that the local development setup will be provider-dependent. For example:
Another option is one of the official Next.js starter templates, like this SaaS starter, which includes a CLI that can set up a local Postgres instance through Docker. Then, since the template uses Drizzle as the ORM, you can use that for database migrations and viewing your data through a GUI (Drizzle Studio). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
No response
Background
Setting up a local development environment is the first thing that everyone does. It's very surprising that Next.js site has no official documentation on how to setup a local Postgres with Docker. The only documentation I could found is on Vercel but that doesn't work either.
Not sure whether this will get priority from the Next.js team anytime soon but this will makes all the devs life easier. Especially any new comer coming to Next.js
Proposal
Write a clear documentation to run a local development environment with Vercel Postgres through Docker
Beta Was this translation helpful? Give feedback.
All reactions