GraphQL CRUD with React, Prisma, and Nexus
Автор: Lester Fernandez
Загружено: 2022-05-07
Просмотров: 2337
In this video we do some authenticated CRUD operations from our React front-end which sends data to our GraphQL API. We use Prisma to automate out SQL operations. We also use GraphQL Nexus to write our schema and resolvers. This is an amazingly productive setup when using GraphQL with TypeScript.
00:00 Introduction
00:30 Edit Prisma Schema
2:50 GraphQL Nexus Schema
7:20 Protected Resolver Setup
9:59 createPost Mutation
11:24 getPosts Query
14:18 GraphQL Codegen
16:07 Quick JWT & Cookie Fix
17:23 Front End Setup
19:20 Formik Form with ChakraUI
23:37 Creating Posts
24:16 Showing Posts in the UI
29:31 Stay Tuned!
🔗 Links
Series Playlist:
• TypeScript Next.js GraphQL Boilerplate
Prisma Docs:
https://www.prisma.io/docs/
GraphQL Nexus Docs:
https://nexusjs.org/docs/
👨💻 Code
https://github.com/lesterfernandez/ty...
📲 Connect with me
/ lester-f
https://github.com/lesterfernandez
https://lesterfernandez.me/
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: