https://github.com/gt-codes/nextjs-trpc-template
https://github.com/gt-codes/nextjs-trpc-template
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gt-codes/nextjs-trpc-template
- Owner: gt-codes
- Created: 2022-04-30T19:05:44.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-01T03:14:17.000Z (about 4 years ago)
- Last Synced: 2025-03-24T10:11:32.330Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://nexttrpc.vercel.app/
- Size: 81.1 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a basic template using [TRPC](https://trpc.io/) and [Next.js](https://nextjs.org/).
## Getting Started
Run `yarn` to install the dependencies _(this project uses **yarn** but feel free to use whatever package manager you're most comfortable with)_
Run the development server with `yarn dev`
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the query in `src/backend/routers/userRoute.tsx`. You can read more about TRPC's usage wiith Next.js [here](https://trpc.io/docs/nextjs#recommended-file-structure).