~/talk

Staging is Dead, Long Live Previews!

Talkat JSworld Conference 2023 · 2023-02-08..02-10· [devops-and-delivery, databases]
slides:none on file

Claims that a full‑stack preview workflow is live with Neon and Vercel, creating a database per PR that gets Prisma migrations applied during the Vercel build, populating seeded data and swapping in branch‑specific connection strings as environment variables. Demo shows Next.js app, serverless Postgres branching, and Vercel preview deploys all created automatically, and the new Neon → Vercel integration launches in beta so branches, previews, and isolated compute actually work end to end.

AI-written summary · about

  1. 0:00Start
  2. 3:48Dedicated database for each preview
  3. 4:11Maintenance nightmare
  4. 4:42Neon Branching can help recover lost data
  5. 7:00A look at the app and its initial state
  6. 7:16The app is backed by a Postgres database already
  7. 7:31Migrations run as part of the build step
  8. 8:044. Create a Neon project
  9. 8:375. Create databases and users
  10. 9:14Import data into Neon
  11. 9:45Edit the old environment variables
  12. 10:05Add the integration to Vercel
  13. 10:52Check the env variables and branches
  14. 11:20Set the shadow database url & get the dev env variables
  15. 12:09Make changes locally
  16. 12:37Inspect the changes
  17. 12:58Generate the migrations using Prisma Migrate
  18. 13:34Commit the changes to GitHub!
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.