Skip to content
Source
Sign inSign up
TanStack/cli
Open History to see the last commit

info.json

58 lines2.6 KB

1{
2 "name": "Start",
3 "phase": "setup",
4 "description": "Add TanStack Start for SSR, API endpoints, and more.",
5 "aiDescription": "TanStack Start transforms your TanStack Router app into a full-stack framework with server-side rendering (SSR), server functions, and API routes. It's the 'meta-framework' layer that enables building complete applications, not just SPAs. Key features: SSR with streaming support, server functions (RPC-style calls from client to server), API routes for REST endpoints, file-based routing with loaders and actions, and multiple rendering strategies (SSR, SPA, static). Start uses Vinxi under the hood and supports deployment to Node.js, Cloudflare, Netlify, Vercel, and more. Choose TanStack Start when you need SEO (SSR), want server-side data loading, need API endpoints, or want to use add-ons like Prisma/Drizzle that require server access. Start is required for most database integrations, authentication flows, and any server-side logic. It's the foundation that enables the full-stack add-ons in this list.",
6 "link": "https://tanstack.com/start/latest",
7 "modes": ["file-router"],
8 "type": "add-on",
9 "priority": 26,
10 "routes": [
11 {
12 "icon": "SquareFunction",
13 "url": "/demo/start/server-funcs",
14 "name": "Start - Server Functions",
15 "path": "src/routes/demo.start.server-funcs.tsx",
16 "jsName": "StartServerFuncsDemo"
17 },
18 {
19 "icon": "Network",
20 "url": "/demo/start/api-request",
21 "name": "Start - API Request",
22 "path": "src/routes/demo.start.api-request.tsx",
23 "jsName": "StartApiRequestDemo"
24 },
25 {
26 "icon": "StickyNote",
27 "url": "/demo/start/ssr",
28 "name": "Start - SSR Demos",
29 "path": "src/routes/demo.start.ssr.index.tsx",
30 "jsName": "StartSSRDemo",
31 "children": [
32 {
33 "icon": "StickyNote",
34 "url": "/demo/start/ssr/spa-mode",
35 "name": "SPA Mode",
36 "path": "src/routes/demo.start.ssr.spa-mode.tsx",
37 "jsName": "StartSSRSpamodeDemo"
38 },
39 {
40 "icon": "StickyNote",
41 "url": "/demo/start/ssr/full-ssr",
42 "name": "Full SSR",
43 "path": "src/routes/demo.start.ssr.full-ssr.tsx",
44 "jsName": "StartSSRFullSsrDemo"
45 },
46 {
47 "icon": "StickyNote",
48 "url": "/demo/start/ssr/data-only",
49 "name": "Data Only",
50 "path": "src/routes/demo.start.ssr.data-only.tsx",
51 "jsName": "StartSSRDataOnlyDemo"
52 }
53 ]
54 }
55 ],
56 "deletedFiles": ["./index.html", "./src/main.tsx", "./src/App.css"],
57 "addOnSpecialSteps": ["rimraf-node-modules"]