Is Prisma more for a “local” database? Vs like how Firebase is on a server with Google?
i
Ineza Bonté Grévy
03/23/2022, 6:12 PM
Prisma is an ORM, you can use it locally or in Production. It’s basically an interface between your app and the database. Examples of similar tools are Mongoose and Sequelize
b
Bret emm
03/23/2022, 6:21 PM
Thank you! So its. Basically for better control of what data is loaded/used? I got a PostgreSQL setup, i think ill add Prisma latter. I’m liking this better then firebase. BUT, how do i have my data accessible Online, instead of off of my computer? Thank you!
i
Ineza Bonté Grévy
03/23/2022, 6:36 PM
For example in the PostgreSQL setup you would have to write long SQL codes in order to read or write to your database. Prisma is the middle man that comes in to do all the heavy lifting for you so you have a much cleaner and efficient codebase.
To have your data accessible online you can do that by creating a hosted database using a service like Heroku. It will provide you with credentials that you will use to connect to your hosted database. You will get 1GB of storage on the free plan. You can choose to upgrade depending on your needs