{"type":"app","meta":{"headers":{"x-nextjs-stale-time":"300","x-nextjs-prerender":"1","x-next-cache-tags":"_N_T_/layout,_N_T_/docs/layout,_N_T_/docs/[[...slug]]/layout,_N_T_/docs/[[...slug]]/page,_N_T_/docs"}},"html":"Introduction

Introduction

Better-T-Stack is a modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations.

\n

Why Better-T-Stack?

\n

Better-T-Stack lets you scaffold your projects for frontend, native apps, and backend with a single CLI command.

\n

Features

\n

Frontend

Choose between Tanstack Router, React Router, Expo, Next.js, and more

Flexible Backend

Choose between Hono, Elysia, Next.js, Express, and Fastify

End to end typesafe APIs

With the help of tRPC or oRPC

Authentication

With the help of Better Auth

Database Setup

Many ORMs and Relational Databases

Addons

Add PWA support, desktop apps, documentation, and more

","rsc":"1:\"$Sreact.fragment\"\n2:I[20929,[\"294\",\"static/chunks/294-233cd7cc1c547f3f.js\",\"859\",\"static/chunks/859-a65b18ad9abe1ee5.js\",\"177\",\"static/chunks/app/layout-dbb582edfdb91dfe.js\"],\"RootProvider\"]\n3:I[43091,[\"294\",\"static/chunks/294-233cd7cc1c547f3f.js\",\"859\",\"static/chunks/859-a65b18ad9abe1ee5.js\",\"177\",\"static/chunks/app/layout-dbb582edfdb91dfe.js\"],\"NuqsAdapter\"]\n4:I[57944,[],\"\"]\n5:I[63790,[],\"\"]\n6:I[95836,[\"294\",\"static/chunks/294-233cd7cc1c547f3f.js\",\"859\",\"static/chunks/859-a65b18ad9abe1ee5.js\",\"177\",\"static/chunks/app/layout-dbb582edfdb91dfe.js\"],\"Toaster\"]\n7:I[87156,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"TreeContextProvider\"]\n8:I[19142,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"NavProvider\"]\n9:I[40908,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"LayoutBody\"]\na:I[40908,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"CollapsibleControl\"]\nb:I[4981,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"Sidebar\"]\nc:I[87398,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"HideIfEmpty\"]\nd:I[4981,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"SidebarHeader\"]\ne:I[50720,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"default\"]\nf:I[4981,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"SidebarCollapseTrigger\"]\n10:I[31698,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"LargeSearchToggle\"]\n11:I[4981,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"SidebarViewport\"]\n12:I[4981,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"SidebarPageTree\"]\n13:I[4981,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"SidebarFooter\"]\n14:I[25724,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"BaseLinkItem\"]\n15:I[37595,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"616\",\"static/chunks/616-ee0c33ac7dcdf86a.js\",\"816\",\"static/chunks/816-c635668e3b41d2fc.js\",\"381\",\"static/chunks/381-8703543c8f70a401.js\",\"499\",\"static/chunks/app/docs/layout-4c84d525cfa509f7.js\"],\"ThemeToggle\"]\n17:I[1176,[],\"MetadataBoundary\"]\n19:I[1176,[],\"OutletBoundary\"]\n1c:I[90304,[],\"AsyncMetadataOutlet\"]\n1e:I[1176,[],\"ViewportBoundary\"]\n20:I[935,[],\"\"]\n:HL[\"/_next/static/media/0484562807a97172-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/7db6c35d839a711c-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/8888a3826f4a3af4-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/b957ea75a84b6ea7-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/eafabf029ad39a43-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/6deb4613f4226552.css\",\"style\"]\n:HL[\"/_next/static/css/4098119c3f7f79d8.css\",\"style\"]\n0:{\"P\":null,\"b\":\"pYUMJqQmqlh8C9DCzFGyK\",\"p\":\"\",\"c\":[\"\",\"docs\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"docs\",{\"children\":[[\"slug\",\"\",\"oc\"],{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/6deb4613f4226552.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/4098119c3f7f79d8.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"__className_d5a796\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"$L2\",null,{\"search\":{\"options\":{\"type\":\"static\"}},\"theme\":{\"enableSystem\":true,\"defaultTheme\":\"system\"},\"children\":[[\"$\",\"$L3\",null,{\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}],[\"$\",\"$L6\",null,{}]]}]}]}]]}],{\"children\":[\"docs\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L7\",null,{\"tree\":{\"$id\":\"root\",\"name\":\"Introduction\",\"children\":[{\"$id\":\"#0\",\"type\":\"separator\",\"icon\":\"$undefined\",\"name\":\"Getting Started\"},{\"$id\":\"index.mdx\",\"type\":\"page\",\"name\":\"Introduction\",\"description\":\"$undefined\",\"icon\":\"$undefined\",\"url\":\"/docs\",\"$ref\":{\"file\":\"index\"}}]},\"children\":[\"$\",\"$L8\",null,{\"transparentMode\":\"$undefined\",\"children\":[false,[\"$\",\"$L9\",null,{\"className\":\"md:[--fd-sidebar-width:268px] lg:[--fd-sidebar-width:286px] xl:[--fd-toc-width:286px]\",\"children\":[[[\"$\",\"$La\",null,{}],[\"$\",\"$Lb\",null,{\"collapsible\":true,\"children\":[[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$Ld\",null,{\"children\":[[\"$\",\"div\",null,{\"className\":\"flex max-md:hidden\",\"children\":[[\"$\",\"$Le\",null,{\"href\":\"/\",\"className\":\"inline-flex text-[15px] items-center gap-2.5 font-medium\",\"children\":\"Better-T-Stack\"}],\"$undefined\",[\"$\",\"$Lf\",null,{\"className\":\"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none hover:bg-fd-accent hover:text-fd-accent-foreground p-1.5 [&_svg]:size-4.5 ms-auto mb-auto text-fd-muted-foreground max-md:hidden\",\"children\":[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide\",\"children\":[[[\"$\",\"rect\",\"afitv7\",{\"width\":\"18\",\"height\":\"18\",\"x\":\"3\",\"y\":\"3\",\"rx\":\"2\"}],[\"$\",\"path\",\"fh3hqa\",{\"d\":\"M9 3v18\"}]],\"$undefined\"]}]}]]}],false,[\"$\",\"$L10\",null,{\"hideIfDisabled\":true,\"className\":\"max-md:hidden\"}],\"$undefined\"]}]}],[\"$\",\"$L11\",null,{\"children\":[[],[\"$\",\"$L12\",null,{\"components\":\"$undefined\"}]]}],[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$L13\",null,{\"children\":[[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"flex items-center justify-end\",\"children\":[[\"$\",\"div\",null,{\"className\":\"flex items-center flex-1 empty:hidden\",\"children\":[[\"$\",\"$L14\",\"0\",{\"item\":{\"type\":\"icon\",\"url\":\"https://github.com/AmanVarshney01/create-better-t-stack\",\"text\":\"Github\",\"label\":\"GitHub\",\"icon\":[\"$\",\"svg\",null,{\"role\":\"img\",\"viewBox\":\"0 0 24 24\",\"fill\":\"currentColor\",\"children\":[\"$\",\"path\",null,{\"d\":\"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12\"}]}],\"external\":true},\"className\":\"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none hover:bg-fd-accent hover:text-fd-accent-foreground p-1.5 [&_svg]:size-5 text-fd-muted-foreground md:[&_svg]:size-4.5\",\"aria-label\":\"GitHub\",\"children\":\"$0:f:0:1:2:children:1:props:children:1:props:children:props:children:1:props:children:0:1:props:children:2:props:children:props:children:0:props:children:props:children:0:props:children:0:props:item:icon\"}]]}],null,[\"$\",\"$L15\",null,{\"className\":\"p-0\",\"mode\":\"$undefined\"}]]}]}],\"$undefined\"]}]}]]}]],[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]]}]}]]}],{\"children\":[[\"slug\",\"\",\"oc\"],[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[\"$L16\",[\"$\",\"$L17\",null,{\"children\":\"$L18\"}],null,[\"$\",\"$L19\",null,{\"children\":[\"$L1a\",\"$L1b\",[\"$\",\"$L1c\",null,{\"promise\":\"$@1d\"}]]}]]}],{},null,false]},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$1\",\"pOxOw11YzGJEOBCAliEj7\",{\"children\":[[\"$\",\"$L1e\",null,{\"children\":\"$L1f\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$20\",\"$undefined\"],\"s\":false,\"S\":true}\n21:\"$Sreact.suspense\"\n22:I[90304,[],\"AsyncMetadata\"]\n24:I[56406,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"PageRoot\"]\n25:I[56406,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"PageTOCPopover\"]\n26:I[56406,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"PageTOCPopoverTrigger\"]\n27:I[56406,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"PageTOCPopoverContent\"]\n28:I[14547,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"TOCScrollArea\"]\n29:I[14547,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"TOCItems\"]\n2a:I[56406,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"PageBreadcrumb\"]\n2b:I[56406,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"PageFooter\"]\n2c:I[56406,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"PageTOC\"]\n2d:I[8272,[\"987\",\"static/chunks/987-15758c8fb8be3215.js\",\"605\",\"static/chunks/605-c6ada8a61926b0af.js\",\"395\",\"static/chunks/395-8ac002ab03a2d4f6.js\",\"870\",\"static/chunks/app/docs/%5B%5B...slug%5D%5D/page-67c136a2791018e5.js\"],\"I18nLabel\"]\n18:[\"$\",\"$21\",null,{\"fallback\":null,\"children\":[\"$\",\"$L22\",null,{\"promise\":\"$@23\"}]}]\n16:[\"$\",\"$L24\",null,{\"toc\":{\"toc\":[{\"depth\":1,\"url\":\"#why-better-t-stack\",\"title\":\"Why Better-T-Stack?\"},{\"depth\":1,\"url\":\"#features\",\"title\":\"Features\"}],\"single\":\"$undefined\"},\"children\":[[\"$\",\"$L25\",null,{\"children\":[[\"$\",\"$L26\",null,{}],[\"$\",\"$L27\",null,{\"children\":[\"$undefined\",[\"$\",\"$L28\",null,{\"children\":[\"$\",\"$L29\",null,{}]}],\"$undefined\"]}]]}],[\"$\",\"article\",null,{\"children\":[[\"$\",\"$L2a\",null,{}],[[\"$\",\"h1\",null,{\"ref\":\"$undefined\",\"children\":\"Introduction\",\"className\":\"text-3xl font-semibold\"}],null,[\"$\",\"div\",null,{\"ref\":\"$undefined\",\"children\":[[\"$\",\"p\",null,{\"children\":\"Better-T-Stack is a modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations.\"}],\"\\n\",[\"$\",\"h1\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"why-better-t-stack\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#why-better-t-stack\",\"className\":\"peer\",\"children\":\"Why Better-T-Stack?\"}],[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100\",\"aria-label\":\"Link to section\",\"children\":[[[\"$\",\"path\",\"1cjeqo\",{\"d\":\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\"}],[\"$\",\"path\",\"19qd67\",{\"d\":\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\"}]],\"$undefined\"]}]]}],\"\\n\",[\"$\",\"p\",null,{\"children\":\"Better-T-Stack lets you scaffold your projects for frontend, native apps, and backend with a single CLI command.\"}],\"\\n\",[\"$\",\"h1\",null,{\"className\":\"flex scroll-m-28 flex-row items-center gap-2\",\"id\":\"features\",\"children\":[[\"$\",\"a\",null,{\"data-card\":\"\",\"href\":\"#features\",\"className\":\"peer\",\"children\":\"Features\"}],[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide size-3.5 shrink-0 text-fd-muted-foreground opacity-0 transition-opacity peer-hover:opacity-100\",\"aria-label\":\"Link to section\",\"children\":[[[\"$\",\"path\",\"1cjeqo\",{\"d\":\"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71\"}],[\"$\",\"path\",\"19qd67\",{\"d\":\"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71\"}]],\"$undefined\"]}]]}],\"\\n\",[\"$\",\"div\",null,{\"children\":[[\"$\",\"div\",null,{\"data-card\":true,\"className\":\"block rounded-lg border bg-fd-card p-4 text-fd-card-foreground shadow-md transition-colors @max-lg:col-span-full\",\"children\":[[\"$\",\"div\",null,{\"className\":\"not-prose mb-2 w-fit rounded-md border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4\",\"children\":[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-globe\",\"aria-hidden\":\"true\",\"children\":[[\"$\",\"circle\",\"1mglay\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"10\"}],[\"$\",\"path\",\"13o1zl\",{\"d\":\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"}],[\"$\",\"path\",\"9i4pu4\",{\"d\":\"M2 12h20\"}],\"$undefined\"]}]}],[\"$\",\"h3\",null,{\"className\":\"not-prose mb-1 text-sm font-medium\",\"children\":\"Frontend\"}],[\"$\",\"p\",null,{\"className\":\"!my-0 text-sm text-fd-muted-foreground\",\"children\":\"Choose between Tanstack Router, React Router, Expo, Next.js, and more\"}],null]}],[\"$\",\"div\",null,{\"data-card\":true,\"className\":\"block rounded-lg border bg-fd-card p-4 text-fd-card-foreground shadow-md transition-colors @max-lg:col-span-full\",\"children\":[[\"$\",\"div\",null,{\"className\":\"not-prose mb-2 w-fit rounded-md border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4\",\"children\":[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-server\",\"aria-hidden\":\"true\",\"children\":[[\"$\",\"rect\",\"ngkwjq\",{\"width\":\"20\",\"height\":\"8\",\"x\":\"2\",\"y\":\"2\",\"rx\":\"2\",\"ry\":\"2\"}],[\"$\",\"rect\",\"iecqi9\",{\"width\":\"20\",\"height\":\"8\",\"x\":\"2\",\"y\":\"14\",\"rx\":\"2\",\"ry\":\"2\"}],[\"$\",\"line\",\"16zg32\",{\"x1\":\"6\",\"x2\":\"6.01\",\"y1\":\"6\",\"y2\":\"6\"}],[\"$\",\"line\",\"nzw8ys\",{\"x1\":\"6\",\"x2\":\"6.01\",\"y1\":\"18\",\"y2\":\"18\"}],\"$undefined\"]}]}],[\"$\",\"h3\",null,{\"className\":\"not-prose mb-1 text-sm font-medium\",\"children\":\"Flexible Backend\"}],[\"$\",\"p\",null,{\"className\":\"!my-0 text-sm text-fd-muted-foreground\",\"children\":\"Choose between Hono, Elysia, Next.js, Express, and Fastify\"}],null]}],[\"$\",\"div\",null,{\"data-card\":true,\"className\":\"block rounded-lg border bg-fd-card p-4 text-fd-card-foreground shadow-md transition-colors @max-lg:col-span-full\",\"children\":[[\"$\",\"div\",null,{\"className\":\"not-prose mb-2 w-fit rounded-md border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4\",\"children\":[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-cable\",\"aria-hidden\":\"true\",\"children\":[[\"$\",\"path\",\"10bnsj\",{\"d\":\"M17 21v-2a1 1 0 0 1-1-1v-1a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1\"}],[\"$\",\"path\",\"1eqmu1\",{\"d\":\"M19 15V6.5a1 1 0 0 0-7 0v11a1 1 0 0 1-7 0V9\"}],[\"$\",\"path\",\"14zm7j\",{\"d\":\"M21 21v-2h-4\"}],[\"$\",\"path\",\"z442eg\",{\"d\":\"M3 5h4V3\"}],[\"$\",\"path\",\"ebdjd7\",{\"d\":\"M7 5a1 1 0 0 1 1 1v1a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a1 1 0 0 1 1-1V3\"}],\"$undefined\"]}]}],[\"$\",\"h3\",null,{\"className\":\"not-prose mb-1 text-sm font-medium\",\"children\":\"End to end typesafe APIs\"}],[\"$\",\"p\",null,{\"className\":\"!my-0 text-sm text-fd-muted-foreground\",\"children\":\"With the help of tRPC or oRPC\"}],null]}],[\"$\",\"div\",null,{\"data-card\":true,\"className\":\"block rounded-lg border bg-fd-card p-4 text-fd-card-foreground shadow-md transition-colors @max-lg:col-span-full\",\"children\":[[\"$\",\"div\",null,{\"className\":\"not-prose mb-2 w-fit rounded-md border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4\",\"children\":[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-lock\",\"aria-hidden\":\"true\",\"children\":[[\"$\",\"rect\",\"1w4ew1\",{\"width\":\"18\",\"height\":\"11\",\"x\":\"3\",\"y\":\"11\",\"rx\":\"2\",\"ry\":\"2\"}],[\"$\",\"path\",\"fwvmzm\",{\"d\":\"M7 11V7a5 5 0 0 1 10 0v4\"}],\"$undefined\"]}]}],[\"$\",\"h3\",null,{\"className\":\"not-prose mb-1 text-sm font-medium\",\"children\":\"Authentication\"}],[\"$\",\"p\",null,{\"className\":\"!my-0 text-sm text-fd-muted-foreground\",\"children\":\"With the help of Better Auth\"}],null]}],[\"$\",\"div\",null,{\"data-card\":true,\"className\":\"block rounded-lg border bg-fd-card p-4 text-fd-card-foreground shadow-md transition-colors @max-lg:col-span-full\",\"children\":[[\"$\",\"div\",null,{\"className\":\"not-prose mb-2 w-fit rounded-md border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4\",\"children\":[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-database\",\"aria-hidden\":\"true\",\"children\":[[\"$\",\"ellipse\",\"msslwz\",{\"cx\":\"12\",\"cy\":\"5\",\"rx\":\"9\",\"ry\":\"3\"}],[\"$\",\"path\",\"1wlel7\",{\"d\":\"M3 5V19A9 3 0 0 0 21 19V5\"}],[\"$\",\"path\",\"mv7ke4\",{\"d\":\"M3 12A9 3 0 0 0 21 12\"}],\"$undefined\"]}]}],[\"$\",\"h3\",null,{\"className\":\"not-prose mb-1 text-sm font-medium\",\"children\":\"Database Setup\"}],[\"$\",\"p\",null,{\"className\":\"!my-0 text-sm text-fd-muted-foreground\",\"children\":\"Many ORMs and Relational Databases\"}],null]}],[\"$\",\"div\",null,{\"data-card\":true,\"className\":\"block rounded-lg border bg-fd-card p-4 text-fd-card-foreground shadow-md transition-colors @max-lg:col-span-full\",\"children\":[[\"$\",\"div\",null,{\"className\":\"not-prose mb-2 w-fit rounded-md border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4\",\"children\":[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide lucide-package\",\"aria-hidden\":\"true\",\"children\":[[\"$\",\"path\",\"1a0edw\",{\"d\":\"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z\"}],[\"$\",\"path\",\"d0xqtd\",{\"d\":\"M12 22V12\"}],[\"$\",\"polyline\",\"ousv84\",{\"points\":\"3.29 7 12 12 20.71 7\"}],[\"$\",\"path\",\"1c824w\",{\"d\":\"m7.5 4.27 9 5.15\"}],\"$undefined\"]}]}],[\"$\",\"h3\",null,{\"className\":\"not-prose mb-1 text-sm font-medium\",\"children\":\"Addons\"}],[\"$\",\"p\",null,{\"className\":\"!my-0 text-sm text-fd-muted-foreground\",\"children\":\"Add PWA support, desktop apps, documentation, and more\"}],null]}]],\"className\":\"grid grid-cols-2 gap-4 @container\"}]],\"className\":\"prose\"}]],[\"$\",\"div\",null,{\"role\":\"none\",\"className\":\"flex-1\"}],[\"$\",\"div\",null,{\"className\":\"flex flex-row flex-wrap items-center justify-between gap-4 empty:hidden\",\"children\":[\"$undefined\",\"$undefined\"]}],[\"$\",\"$L2b\",null,{\"items\":\"$undefined\"}]],\"className\":\"flex min-w-0 w-full flex-col gap-6 px-4 pt-8 md:px-6 md:mx-auto xl:pt-12 xl:px-12\"}],[\"$\",\"$L2c\",null,{\"children\":[\"$undefined\",[\"$\",\"h3\",null,{\"className\":\"inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground\",\"children\":[[\"$\",\"svg\",null,{\"ref\":\"$undefined\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":24,\"height\":24,\"viewBox\":\"0 0 24 24\",\"fill\":\"none\",\"stroke\":\"currentColor\",\"strokeWidth\":2,\"strokeLinecap\":\"round\",\"strokeLinejoin\":\"round\",\"className\":\"lucide size-4\",\"children\":[[[\"$\",\"path\",\"olowqp\",{\"d\":\"M15 18H3\"}],[\"$\",\"path\",\"16j9eg\",{\"d\":\"M17 6H3\"}],[\"$\",\"path\",\"2avoz0\",{\"d\":\"M21 12H3\"}]],\"$undefined\"]}],[\"$\",\"$L2d\",null,{\"label\":\"toc\"}]]}],[\"$\",\"$L28\",null,{\"children\":[\"$\",\"$L29\",null,{}]}],\"$undefined\"]}]]}]\n1b:null\n1f:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n1a:null\n23:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Introduction\"}],[\"$\",\"meta\",\"1\",{\"name\":\"author\",\"content\":\"Better-T Stack Team\"}],[\"$\",\"link\",\"2\",{\"rel\":\"manifest\",\"href\":\"/manifest.webmanifest\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"3\",{\"name\":\"keywords\",\"content\":\"TypeScript,project scaffolding,boilerplate,type safety,Drizzle,Prisma,hono,elysia,turborepo,trpc,orpc,turso,neon,Better-Auth,convex,monorepo,Better-T Stack,create-better-t-stack\"}],[\"$\",\"meta\",\"4\",{\"name\":\"creator\",\"content\":\"Better-T Stack\"}],[\"$\",\"meta\",\"5\",{\"name\":\"publisher\",\"content\":\"Better-T Stack\"}],[\"$\",\"meta\",\"6\",{\"name\":\"robots\",\"content\":\"index, follow\"}],[\"$\",\"meta\",\"7\",{\"name\":\"googlebot\",\"content\":\"index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1\"}],[\"$\",\"meta\",\"8\",{\"name\":\"category\",\"content\":\"Technology\"}],[\"$\",\"link\",\"9\",{\"rel\":\"canonical\",\"href\":\"https://better-t-stack.dev\"}],[\"$\",\"meta\",\"10\",{\"name\":\"format-detection\",\"content\":\"telephone=no, email=no\"}],[\"$\",\"meta\",\"11\",{\"property\":\"og:title\",\"content\":\"Better-T Stack\"}],[\"$\",\"meta\",\"12\",{\"property\":\"og:description\",\"content\":\"A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations\"}],[\"$\",\"meta\",\"13\",{\"property\":\"og:url\",\"content\":\"https://better-t-stack.dev\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:site_name\",\"content\":\"Better-T Stack\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:locale\",\"content\":\"en_US\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:image\",\"content\":\"https://api.screenshothis.com/v1/screenshots/take?api_key=ss_live_NQJgRXqHcKPwnoMTuQmgiwLIGbVfihjpMyQhgsaMyNBHTyesvrxpYNXmdgcnxipc&url=https%3A%2F%2Fbetter-t-stack.dev%2F&width=1200&height=630&block_ads=true&block_cookie_banners=true&block_trackers=true&device_scale_factor=0.75&prefers_color_scheme=dark&is_cached=true\"}],[\"$\",\"meta\",\"17\",{\"property\":\"og:image:width\",\"content\":\"1200\"}],[\"$\",\"meta\",\"18\",{\"property\":\"og:image:height\",\"content\":\"630\"}],[\"$\",\"meta\",\"19\",{\"property\":\"og:image:alt\",\"content\":\"Better-T Stack\"}],[\"$\",\"meta\",\"20\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"21\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"22\",{\"name\":\"twitter:title\",\"content\":\"Better-T Stack\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:description\",\"content\":\"A modern CLI tool for scaffolding end-to-end type-safe TypeScript projects with best practices and customizable configurations\"}],[\"$\",\"meta\",\"24\",{\"name\":\"twitter:image\",\"content\":\"https://api.screenshothis.com/v1/screenshots/take?api_key=ss_live_NQJgRXqHcKPwnoMTuQmgiwLIGbVfihjpMyQhgsaMyNBHTyesvrxpYNXmdgcnxipc&url=https%3A%2F%2Fbetter-t-stack.dev%2F&width=1200&height=630&block_ads=true&block_cookie_banners=true&block_trackers=true&device_scale_factor=0.75&prefers_color_scheme=dark&is_cached=true\"}],[\"$\",\"link\",\"25\",{\"rel\":\"icon\",\"href\":\"/logo.svg\"}]],\"error\":null,\"digest\":\"$undefined\"}\n1d:{\"metadata\":\"$23:metadata\",\"error\":null,\"digest\":\"$undefined\"}\n"}