Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seriouslag/test-trpc
https://github.com/seriouslag/test-trpc
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/seriouslag/test-trpc
- Owner: seriouslag
- Created: 2022-12-15T17:05:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-15T17:05:30.000Z (about 2 years ago)
- Last Synced: 2024-10-15T02:33:28.838Z (3 months ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- 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
```