smoose
smoose
TTCTheo's Typesafe Cult
Created by hoshi on 8/3/2024 in #questions
How to test nextjs app against dockerized postgres container (Vercel)
If you’re looking for ephemeral databases, I’m not sure what you could do besides running docker containers locally and testing. But if you want to setup a serverless database on Vercel strictly for testing, you could do that: https://vercel.com/docs/storage/vercel-postgres Though I’d imagine that would cause more overhead needing to migrate the schema, reseed, and cleanup of past testing. I’m no pro with databases and testing, but those are some of my initial thoughts. Please feel free to bounce ideas back and forth. I’m trying to put my neck out there to be able to learn more about the full stack 😅
4 replies