Introduction to GraphQL with Prisma
Learn GraphQL & fundamentals by building a movie review project
GraphQL is one of the biggest buzz words in web development right now.
But what is it, and what can it do for your projects?
GraphQL can be a replacement for the traditional REST API, which is a much more flexible approach to getting the data your application needs.
This course is designed to give you a good understanding of what GraphQL is, and how it can be used to create a backend (server/API) for any frontend, such as a website or mobile device.
GraphQL can seem intimidating when first trying to understand it, but we will cover all of the fundamentals you will need to get going, along with applying everything to a project.
This course also covers how to use Prisma, which we will use model our data, and interact with our database.
Since GraphQL is designed for the backend, we will not be creating a traditional website or app, instead we will be creating the backend (server & database) for a movie review application.
We will use a tool called the GraphQL Playground to interact with our server and test everything works as it should.
The course is fully project based so everything you learn will be immediately fit into a project to see how it works.
Here are some of the key things you will discover during this course:
- Setting up a web server using GraphQL Yoga
- Working with sample data in our project to get up and running
- Type definitions and resolvers
- Queries, mutations and subscriptions
- Scalar and custom object types
- Using the context to work with custom data
- Relationships between our types and data
- Nested data and resolvers
- Setting up Prisma and a database
- The data model and directives
- Writing and querying the database using Prisma methods
- How to auto generate a Prisma schema
- Checking if data exists and creating connections
If you are wondering what all the hype around GraphQL is, or looking to get into the backend world of web apps, then this is the course for you!
Hello, My name is Chris and I am a web developer and online teacher. I am passionate about what I do and about teaching others. I have started various online and offline businesses.
Whatever your reason for learning to build websites you have made an excellent career choice.
My personal motivation was to become my own boss and have more freedom and flexibility in my life. I also enjoy the technical challenge it provides and the way it constantly evolves. I built my first website back in 1999 and i have watched the web evolve into what it is today.
I try to make my courses enjoyable and try to remember what it was like when I was learning. I also believe the best way to learn is by doing and try to include as many practical examples as possible in my courses.
Thanks for taking an interest and I look forward to you joining me.
StartSetting Up Our Project and GraphQL-Yoga (7:31)
StartIncluding sample Data to Work With (3:00)
StartFirst Look at TypeDefs and Resolvers (8:33)
StartScalar Types & Passing in Arguments (10:16)
StartCustom object types (5:39)
StartWorking with the context and arrays (8:21)
StartAutomatically restating the server (2:44)
StartRefactoring our code (4:54)