Yes, you can safely use prisma and node-postgres together.
Your workflow will look like the following:
- Create a Prisma Schema to define your models and underlying database tables.
- Use the Prisma CLI (the
prismanpm library) to run migrations to your database. This will generate the client innode_modules/.prisma/clientdirectory, which you could optionally delete as you won't be using it. - Instead of using generated Prisma Client inside your node application, use the
node-postgreslibrary to run queries against the database in your application.
Since you're only using Prisma to make any kind of migration or changes to the database structure, there's no risk of your prisma schema not being synced with your database. On the off chance this does happen, you can always get it back in sync using prisma db pull.
Furthermore, since your application is not going to use Prisma client to connect to the database for running queries, node-postgres will handle the connection pool.
Which postgreSQL node.js client library to choose today?
2x worse performance when running raw queries in Prisma vs `pg`
Which Postgres Client Should We Be Using?
PostgreSQL + Prisma vs Supabase - trying to make the right choice before launch
What is the right connection_limit for my Postgres?
Which database provider should I use for development if I don't want to run PostgreSQL locally?
Drizzle vs Prisma in 2026?
Raw queries, ORM, Query builder, code generators etc which pg client library would you choose with Node.js today in production?
Popular ones are: 1] Knex 2] Sequalize 3] TypeORM 4] Prisma 5] Drizzle 6] MikroORM
If you can also comment on "why" that would also be great. If there is any new recommendation that is also great
I’m about to launch my first project (Chrome extension) and questioning my database decision. Built everything with PostgreSQL and Prisma, but wondering if I should switch to Supabase before going live.
What I’m storing:
∙ User authentication (accounts, sessions)
∙ Subscription tiers and usage quotas
∙ Request history and some cached data
Pretty standard SaaS stuff. Nothing complex, but could scale to a decent number of users if things go well.
Current setup:
Node.js backend with Express, PostgreSQL database, Prisma as the ORM. I built the JWT auth flow myself - login, signup, password resets, token refresh, the whole thing. Took a while but it works.
I keep reading about Supabase having built-in auth and real-time features. The auth part is tempting since I’m not confident my implementation is bulletproof. But I’m not sure if Supabase even fits my architecture.
From what I understand, Supabase is designed for direct client-to-database access. My setup has the Chrome extension talking to my Express backend, which then talks to the database. Does Supabase make sense for that pattern or am I thinking about it wrong?
Is this one of those things where the choice doesn’t really matter for a small project, or are there actual tradeoffs I should consider?
For those who’ve built similar projects, what would you go with? Or should I just stick with what’s working and stop second-guessing myself?
I have experience working with MongoDB using Mongoose in Node.js, but now I'm planning to switch to PostgreSQL. I’m not sure which ORM to use for PostgreSQL. Can anyone suggest the best ORM for working with PostgreSQL in Node.js?