Turbo monorepo <> Vercel <> Neon setup
I have a very similar setup as what's described in this thread.
The thread is a bit old so I wanted to check if this is still the path forward?
I am specifically looking to see how can I achieve or come close to achieve the following:
- Monorepo with 3 apps with 3 distinct vercel projects.
- On branch push/pr creation...create a vercel preview for each of the 3 apps.
- Create a shared a neon branch across the 3 apps
- Run migration from a separate but shared monorepo package
- Have the vercel preview point to this shared branch.
- On branch deletion or pr merge clean up the above.
1 Reply
constant-blueOP•13mo ago
Currently with the Neon / Vercel integration, a branch is created but the env variables are only updated for one of the apps and not all three. I am also not sure where and when to run the db migration.