Skip to content

This article will teach you how to build a full-stack CRUD App with Next.js, React Query, GraphQL Code Generator, React-Hook-Form, Zod, and graphql-request to perform Create/Update/Get/Delete operations.

Notifications You must be signed in to change notification settings

wpcodevo/nextjs-typegraphql-api

 
 

Repository files navigation

Next.js Full-Stack App with React Query, and GraphQL-CodeGen

This article will teach you how to build a full-stack CRUD App with Next.js, React Query, GraphQL Code Generator, React-Hook-Form, Zod, and graphql-request to perform Create/Update/Get/Delete operations.

Next.js Full-Stack App with React Query, and GraphQL-CodeGen

Topics Covered

  • Next.js Full-Stack CRUD App Overview
  • Benefits of React Query
  • Setup GraphQL Code Generator
  • Creating the GraphQL Mutations and Queries
    • Create Post Mutation
    • Update Post Mutation
    • Delete Post Mutation
    • Get a Single Post Query
    • Get All Post Query
  • Generating the React Query Hooks with CodeGen
  • Create Reusable Components with tailwindCss
    • Creating the Modal Component
    • Creating the Message Component
    • Creating a Custom Input Field with React-Hook-Form
  • GraphQL Request and React Query Clients
  • React Query & GraphQL Request Create Mutation
  • React Query & GraphQL Request Update Mutation
  • React Query & GraphQL Request Delete Mutation
  • React Query & GraphQL Request Get Query

Read the entire article here: https://codevoweb.com/nextjs-full-stack-app-with-react-query-and-graphql-codegen

Articles in this series::

  1. GraphQL API with Next.js & MongoDB: Access & Refresh Tokens
  2. Next.js, GraphQL-CodeGen, & React Query: JWT Authentication
  3. GraphQL CRUD API with Next.js, MongoDB, and TypeGraphQL
  4. Next.js Full-Stack App with React Query, and GraphQL-CodeGen

About

This article will teach you how to build a full-stack CRUD App with Next.js, React Query, GraphQL Code Generator, React-Hook-Form, Zod, and graphql-request to perform Create/Update/Get/Delete operations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published