tRPC + NextJS App Router = Simple Typesafe APIs

Jack Herrington·Youtube·Aug 2023↗ Open original
★★☆ SilverIntermediateVS Codeoh-my-poshpowerlevel10k_rainbowTypeScript
tRPC + NextJS App Router = Simple Typesafe APIs
🎧 AI Learnings Digest· Agents as a Service · AI Coach
aaas.diy
① WATCH
② DECIDE
③ IMPLEMENT

What you get

Building type-safe APIs with tRPC and Next.js App Router

VS Codeoh-my-poshpowerlevel10k_rainbowTypeScript
Prompts1
Code files3
Configs1
READMEyes
Quality★★☆ Silver
DifficultyIntermediate
SKILL.md
---
name: trpc-nextjs-app-router-simple-typesafe-apis
version: "1.0.0"
description: "Building type-safe APIs with tRPC and Next.js App Router"
source: "https://www.youtube.com/watch?v=qCLV0Iaq9zU"
tags: [VS Code, oh-my-posh, powerlevel10k_rainbow]
---

# tRPC + NextJS App Router = Simple Typesafe APIs

> Auto-generated from: tRPC + NextJS App Router = Simple Typesafe APIs by Jack Herrington

## Prerequisites
- Node.js 18+
- npm or yarn
- SQLite

## Quick Start
1. `npx create-next-app -e with-tailwindcss`
2. `mkdir src/server`
3. `mkdir src/app/api/trpc/[trpc]`
4. `npm install`
5. `npx drizzle-kit generate:sqlite`
6. `drizzle-kit push:sqlite`
7. `npm run dev`

## What You Get
- Content Type: code
- Difficulty: intermediate
- Tools: VS Code, oh-my-posh, powerlevel10k_rainbow

Sign in to access all 1 prompts

Get Pro → $9/mo