An open API service indexing awesome lists of open source software.

https://github.com/wpcodevo/nextjs13-trpc-setup

Are you interested in using tRPC in the new Next.js 13 app directory? Look no further! In this article, I'll walk you through the process of setting up a tRPC server and client in the Next.js 13 app directory step by step.
https://github.com/wpcodevo/nextjs13-trpc-setup

nextjs nextjs13 react react-query trpc trpc-client trpc-server

Last synced: 2 months ago
JSON representation

Are you interested in using tRPC in the new Next.js 13 app directory? Look no further! In this article, I'll walk you through the process of setting up a tRPC server and client in the Next.js 13 app directory step by step.

Awesome Lists containing this project

README

        

# Setup tRPC Server and Client in Next.js 13 App Directory

Are you interested in using tRPC in the new Next.js 13 app directory? Look no further! In this article, I'll walk you through the process of setting up a tRPC server and client in the Next.js 13 app directory step by step.

![Setup tRPC Server and Client in Next.js 13 App Directory](https://codevoweb.com/wp-content/uploads/2023/04/Setup-tRPC-Server-and-Client-in-Next.js-13-App-Directory.webp)

## Topics Covered

- Setup the Next.js 13 Project
- Create a Client-Side tRPC Provider
- Add the tRPC Provider to Next.js 13
- Create the tRPC App Router
- Create the tRPC HTTP Handler
- Create the tRPC Hooks
- Make an API Request
- Conclusion

Read the entire article here: [https://codevoweb.com/setup-trpc-server-and-client-in-nextjs-13-app-directory/](https://codevoweb.com/setup-trpc-server-and-client-in-nextjs-13-app-directory/)