DEV Community

Discussion on: Firestore is Stunted, So... What is the Perfect Database in 2022?

Collapse
 
nikolasburk profile image
Nikolas Burk • Edited

Hey Jonathan, this is a really insightful article, thanks so much for writing it 👏

Technically there is some setup needed for Prisma. Prisma itself is in the top tier of GraphQL, has its own api too like Firebase, but no frontend caching like pure GraphQL with URQL or Apollo. Prisma has subscription capabilities. This may should be your best option... TBD.

I work at Prisma and shortly want to react to this. It seems like you're referring to Prisma 1, which was used to create a GraphQL server for your databases (similar to Hasura or Postgraphile).

However, the latest version of Prisma is actually a new kind of ORM (so it falls into the same category of tools as Sequelize or TypeORM rather than being related to GraphQL). Prisma solves the same kind of database problems developers as these tools, but approaches these in an entirely new way.

You can read more about it here: The Complete ORM for Node.js & TypeScript

Fireship also released a YouTube video about Prisma that might be worth checking out: Prisma in 100 seconds.

Hope this helps!

Collapse
 
jdgamble555 profile image
Jonathan Gamble

I need to test Prisma out. I thought Prisma 2 used GraphQL under the hood, and was just a JSON to GraphQL Client API? Very intrigued!