Skip to content

Commit 3c5132e

Browse files
authored
docs: rewrite docs as feature-oriented site (#2163)
1 parent f908307 commit 3c5132e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+6502
-3847
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
```bash
2626
bun dev # Start web + api + app concurrently
2727
bun build # Build email → web → api → app (in order)
28-
bun test # Vitest (single run, not watch)
28+
bun test # Vitest (watch mode; --run for single run)
2929
bun lint # ESLint with cache
3030
bun typecheck # tsc --build
3131
bun ui:add <component> # Add shadcn/ui component to packages/ui

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# React Starter Kit
44

5+
<a href="https://reactstarter.com/getting-started/"><img src="https://img.shields.io/badge/Docs-007ec6" height="20"></a>
56
<a href="https://github.com/kriasoft/react-starter-kit?sponsor=1"><img src="https://img.shields.io/badge/-GitHub-%23555.svg?logo=github-sponsors" height="20"></a>
67
<a href="https://discord.gg/2nKEnKq"><img src="https://img.shields.io/discord/643523529131950086?label=Chat" height="20"></a>
78
<a href="https://chatgpt.com/g/g-69564f0a23088191846aa4072bd9397d-react-starter-kit-assistant"><img src="https://img.shields.io/badge/Ask_ChatGPT-10a37f?logo=openai&logoColor=white" height="20"></a>
@@ -179,6 +180,8 @@ bun app:deploy # Deploy main React app
179180

180181
## Need Help?
181182

183+
**[Documentation](https://reactstarter.com/)** covers auth, database, billing, deployment, and more.
184+
182185
Our AI assistant is trained on this codebase — ask it anything on [ChatGPT](https://chatgpt.com/g/g-69564f0a23088191846aa4072bd9397d-react-starter-kit-assistant) or [Gemini](https://gemini.google.com/gem/1IXFElQ2UvvZY86iL6uZLeoC-r8mp-OB-?usp=sharing). Try these questions:
183186

184187
- [How do I add a new tRPC endpoint?](https://chatgpt.com/g/g-69564f0a23088191846aa4072bd9397d-react-starter-kit-assistant?prompt=How%20do%20I%20add%20a%20new%20tRPC%20endpoint%3F)

apps/api/AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
## Request Context
2727

2828
- `ctx.cache: Map<string | symbol, unknown>` — request-scoped cache.
29-
- DataLoaders use Symbol keys to avoid collisions. Pattern: check `cache.has()`, create loader on miss, return typed cast.
29+
- DataLoaders use `defineLoader(symbol, batchFn)` helper — handles cache check, instance creation, and typing. See `lib/loaders.ts`.
3030
- AI provider instances (OpenAI) also cached per-request via same pattern.
3131

3232
## Environment

0 commit comments

Comments
 (0)