This content originally appeared on DEV Community and was authored by Chris Bongers
Ever since I started showing interest in Prisma, the Studio element kept showing up everywhere.
Prisma studio is basically a GUI for the data in your database.
I haven't used it myself at the time of writing, so we'll be learning what it can do together.
For this, we'll use the project we just created, and you can follow along by using this GitHub branch.
What is Prisma Studio
Prisma Studio is a visual interface to the data in your database.
You can use this to quickly visualize data and work with the data in there.
The cool part is that it runs in your browser, and you don't need to set up any connection as it's already available in your project.
Note: You can download a desktop app as well if your prefer
You can quickly open all the models your application has and interact with it the CRUD way from the tool.
CRUD
stands for: Create, Read, Update, Delete.
You can also use filters and sorting options, making it super easy to navigate through your data.
Launching Prisma Studio
I've never seen a database GUI that was so easy to launch. Literally all you have to do is run the following command from a Prisma project.
npx prisma studio
It will automatically open localhost:5555
, where you can see your data.
Alternatively, you can download a native app from the Prisma website.
Download the Prisma Studio app
Conclusion
Definitely cool we can launch a GUI without any setup needed.
I will 100% use this if I need a quick visualization of my data.
Will you be trying out Prisma Studio?
Thank you for reading, and let's connect!
Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter
This content originally appeared on DEV Community and was authored by Chris Bongers
Chris Bongers | Sciencx (2022-01-16T08:07:37+00:00) A first look at Prisma Studio. Retrieved from https://www.scien.cx/2022/01/16/a-first-look-at-prisma-studio/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.