Loading...

What is Prisma ?

According to their website:

Prisma is an open source next-generation ORM , Object Relational Mapping (ORM) is a technique used in creating a bridge between object-oriented programs and, in most cases, relational databases.

in simple terms, instead of directly fetching requests to the database, I interact with Prisma premade functions which are the same, no matter which database we use.

In addition, Prisma allows Typesafe programming, thanks to it's model schema.

This way I can use CRUD operations easily and safely.

SSR Improvements

now, every post and project page is generated upon deploying to vercel, so when users enter a project/post page, the server will send a ready html page to the user.