Getting Started with Yoga and Prisma for Building GraphQL Servers
By now, you have probably heard a lot of buzz about GraphQL going around and how it’s going to replace REST but you don’t even know where to begin. You hear a lot of buzzwords about mutations and queries but what you’re used to is GET and POST requests on your different endpoints to fetch data and make changes to your database. Thinking about making a switch to GraphQL and don't know where to begin? This article is for you.
In this article, we are going to take a look at how to convert a database to a GraphQL API using Prisma.
Prerequisites
To follow through this article, you’ll need the following:
Basic knowledge of JavaScript
Node installed on your machine
Node Package Manager installed on your machine
To confirm your installations, run the command:
node --ver...