
In this video, we will create a GraphQL server with Graphql-yoga package. You will learn how to start the server and write query and resolver in GraphQL
In this video, we will do some exercise to write some graphql query and resolver
In this video,I will show the solution of the exercise by create root field and resolver in GraphQL
Nodemon is a utility that will monitor for any changes in your source and automatically restart your server. Perfect for development. Install it using npm. Just use nodemon instead of node to run your code, and now your process will automatically restart when your code changes.
Queries in GraphQL are analogous to REST’s GET and they allow to ask the server for the data we need. Contrary to REST however, we get full power to ask for exactly what we need and in the shape we need it.
In this lesson, you will learn how GraphQL executes Query
In this lesson, you will do some exercise to fetch records from single query
I will show you how to fetch single record from Array using GraphQL Query. We will use find method to get the single element from array
In this video, you are going to learn how to write mutation to add new record in the Array
We will remove custom resolver for the Link type here
In this video, I will teach you how to update and delete the record from the array
In this video, I will show you how to update and delete record from array using graphl mutations
Prisma is a performant open-source GraphQL ORM-like layer doing the heavy lifting in your GraphQL server. It turns your database into a GraphQL API which can be consumed by your resolvers via GraphQL bindings. ... Advanced API composition using GraphQL bindings and schema stitching.
In this video, We will create a new account on prisma cloud
Clone the prepared project, install dependencies, and deploy Prisma to the cloud to generate the GraphQL endpoint. Use the GraphQL playground to query posts, where three posts exist.
I will explain the Prisma Project structure for Application
I will show you how to make add configurations in `env` file
I will show you get all the records from Prisma Database
I will show you how to get all the records from Prisma Database
You will learn how to find single record from Prisma Data Model
You will learn how to save all records from Prisma Data Model
I will show you how to save record in Prisma Data Model
You will learn how to update and delete record from Prisma Database
Learn how to update and delete records in prisma using graphql mutations, targeting a link by id, supplying data and unique input, and handling optional fields like description.
We will restructure the Prisma and GraphQL application into Queries and Mutations
I will show you how to create new data model in Prisma
I will show you how to create new mutation in Prisma and GraphQL
We will implement signup resolver for authentication.
A user can login to his/her account. Only authenticated user can create new link
We will restrict some resolvers by using JWT Token Authentication
We will create a resolver for authPayload
A user can filter the links on the based on description and url. You will learn how to implement Filtering in Prisma and GraphQL
You will learn how to implement Pagination on Prisma and GraphQL
I will show you how to add sorting in Prisma and GraphQL
GraphQL is a new API standard that provides a more efficient, robust and flexible alternative to REST. It was developed and open-sourced by Facebook and is now maintained by a large community of companies and individuals from all over the world.
APIs have become ubiquitous components of software infrastructures. In short, an API defines how aclient can load data from a server.
At its core, GraphQL enables declarative data fetching where a client can specify exactly what data it needs from an API. Instead of multiple endpoints that return fixed data structures, a GraphQL server only exposes a single endpoint and responds with precisely the data a client asked for.
What is Prisma?
Prisma turns your database into a realtime GraphQL API
Prisma is a performant open-source GraphQL ORM-like layer doing the heavy lifting in your GraphQL server. It turns your database into a GraphQL API which can be consumed by your resolvers via GraphQL bindings.
Prisma's auto-generated GraphQL API provides powerful abstractions and modular building blocks to develop flexible and scalable GraphQL backends:
Type-safe API including filters, aggregations, pagination and transactions.
Data modeling & migrations with declarative GraphQL SDL.
Realtime API using GraphQL subscriptions.
Advanced API composition using GraphQL bindings and schema stitching.
Why Prisma?
Resolve complex queries with top performance
Prisma comes with an advanced query engine ensuring that even complex queries are resolved as fast as possible.
Generated CRUD API as foundation for your server
Prisma provides a powerful filtering, sorting, pagination (e.g. Relay connections) API. You just need to piggyback on it.
Easily add realtime features to your API
GraphQL subscriptions work out of-the-box with Prisma. No more complicated & brittle pub/sub logic for your databases.
What you will learn?
This course will cover these following topics
Getting Started with GraphQL and Prisma
Queries in GraphQL
Mutations in GraphQL
CURD Operations with Prisma
Integrating GraphQL Application with Prisma
Authentication with Prisma, GraphQL, NodeJs
Filtering, Pagination, and Sorting