https://github.com/trpc/examples-next-minimal-starter
https://github.com/trpc/examples-next-minimal-starter
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/trpc/examples-next-minimal-starter
- Owner: trpc
- Created: 2022-08-20T13:08:59.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-09T11:05:02.000Z (about 1 year ago)
- Last Synced: 2025-05-09T12:23:17.908Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://examples-next-minimal-starter.vercel.app
- Size: 9.77 MB
- Stars: 18
- Watchers: 3
- Forks: 9
- 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/client/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
```