Search code examples
herokunext.jsprismaheroku-postgres

How to access prisma studio when the app is already deployed on heroku


I have a next.js app which im developing locally right now on development environment. Im calling on npm run dev my server and im running prisma studio with "dev": "next dev -p 3006 & npx prisma studio -p 3007",

Im wondering how I can access prisma studio if my next.js app is already deployed on heroku for example. Prisma provides a guide about deploying to heroku, but there it is not mentioned how to access the database via prisma studio after deployment. https://www.prisma.io/docs/guides/deployment/deployment-guides/deploying-to-heroku

Does anybody have some experience here?


Solution

  • You can use Prisma Data Platform to access Prisma studio for your deployed Heroku application.

    The feature is called Data Browser. It can be used to view and edit your application data.

    You can invite collaborators and can also provide read/write permissions for your data.

    Data Browser