https://github.com/mayandev/trpc-test
trpc-test
https://github.com/mayandev/trpc-test
Last synced: about 1 year ago
JSON representation
trpc-test
- Host: GitHub
- URL: https://github.com/mayandev/trpc-test
- Owner: Mayandev
- Created: 2022-11-04T09:56:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T09:56:43.000Z (over 3 years ago)
- Last Synced: 2025-06-28T05:36:22.486Z (about 1 year ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.js + TRPC
This example shows how you can make a typed query using a minimal implementation of TRPC following [`this as a reference`](https://trpc.io/docs/nextjs).
## Setup
```bash
npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-minimal-starter trpc-minimal-starter
cd trpc-minimal-starter
npm i
npm run dev
```
## Development
### Start project
```bash
npm run dev # starts next.js
```