[{"data":1,"prerenderedAt":746},["ShallowReactive",2],{"navigation":3,"-deploy-providers-genezio":393,"-deploy-providers-genezio-surround":741},[4,88,217,223,378,390],{"title":5,"path":6,"stem":7,"children":8,"icon":87},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77,82],{"title":10,"path":6,"stem":7,"icon":11},"Introduction","i-lucide-compass",{"title":13,"path":14,"stem":15,"icon":16},"Quick Start","/docs/quick-start","1.docs/2.quick-start","i-lucide-zap",{"title":18,"path":19,"stem":20,"icon":21},"Renderer","/docs/renderer","1.docs/4.renderer","ri:layout-masonry-line",{"title":23,"path":24,"stem":25,"icon":26},"Routing","/docs/routing","1.docs/5.routing","ri:direction-line",{"title":28,"path":29,"stem":30,"icon":31},"Assets","/docs/assets","1.docs/50.assets","ri:image-2-line",{"title":33,"path":34,"stem":35,"icon":36},"Configuration","/docs/configuration","1.docs/50.configuration","ri:settings-3-line",{"title":38,"path":39,"stem":40,"icon":41},"Database","/docs/database","1.docs/50.database","ri:database-2-line",{"title":43,"path":44,"stem":45,"icon":46},"Lifecycle","/docs/lifecycle","1.docs/50.lifecycle","i-lucide-layers",{"title":48,"path":49,"stem":50,"icon":51},"Plugins","/docs/plugins","1.docs/50.plugins","ri:plug-line",{"title":53,"path":54,"stem":55,"icon":56},"Tasks","/docs/tasks","1.docs/50.tasks","codicon:run-all",{"title":58,"path":59,"stem":60,"icon":61},"WebSocket","/docs/websocket","1.docs/50.websocket","ri:broadcast-fill",{"title":63,"path":64,"stem":65,"icon":66},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":68,"path":69,"stem":70,"icon":71},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":73,"path":74,"stem":75,"icon":76},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":78,"path":79,"stem":80,"icon":81},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":83,"path":84,"stem":85,"icon":86},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":89,"path":90,"stem":91,"children":92,"icon":94},"Deploy","/deploy","2.deploy/0.index",[93,95,116],{"title":89,"path":90,"stem":91,"icon":94},"ri:upload-cloud-2-line",{"title":96,"path":97,"stem":98,"children":99,"page":115},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[100,105,110],{"title":101,"path":102,"stem":103,"icon":104},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":106,"path":107,"stem":108,"icon":109},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":111,"path":112,"stem":113,"icon":114},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":117,"path":118,"stem":119,"children":120,"page":115},"Providers","/deploy/providers","2.deploy/20.providers",[121,125,129,133,137,141,145,149,153,157,161,165,169,173,177,181,185,189,193,197,201,205,209,213],{"title":122,"path":123,"stem":124},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":126,"path":127,"stem":128},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":130,"path":131,"stem":132},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":134,"path":135,"stem":136},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":138,"path":139,"stem":140},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":142,"path":143,"stem":144},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":146,"path":147,"stem":148},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":150,"path":151,"stem":152},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":154,"path":155,"stem":156},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":158,"path":159,"stem":160},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":162,"path":163,"stem":164},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":166,"path":167,"stem":168},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":170,"path":171,"stem":172},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":174,"path":175,"stem":176},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":178,"path":179,"stem":180},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":182,"path":183,"stem":184},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":186,"path":187,"stem":188},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":190,"path":191,"stem":192},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":194,"path":195,"stem":196},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":198,"path":199,"stem":200},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":202,"path":203,"stem":204},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":206,"path":207,"stem":208},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":210,"path":211,"stem":212},"Zephyr Cloud","/deploy/providers/zephyr","2.deploy/20.providers/zephyr",{"title":214,"path":215,"stem":216},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":218,"path":219,"stem":220,"children":221,"icon":36},"Config","/config","3.config/0.index",[222],{"title":218,"path":219,"stem":220,"icon":36},{"title":224,"path":225,"stem":226,"children":227,"icon":229},"Examples","/examples","4.examples/0.index",[228,230,235,240,245,250,254,259,264,269,274,279,284,288,293,297,301,306,311,316,321,326,331,336,341,346,350,355,360,364,369,374],{"title":224,"path":225,"stem":226,"icon":229},"i-lucide-folder-code",{"title":231,"path":232,"stem":233,"icon":234},"API Routes","/examples/api-routes","4.examples/api-routes","i-lucide-route",{"title":236,"path":237,"stem":238,"icon":239},"Auto Imports","/examples/auto-imports","4.examples/auto-imports","i-lucide-import",{"title":241,"path":242,"stem":243,"icon":244},"Cached Handler","/examples/cached-handler","4.examples/cached-handler","i-lucide-clock",{"title":246,"path":247,"stem":248,"icon":249},"Custom Error Handler","/examples/custom-error-handler","4.examples/custom-error-handler","i-lucide-alert-circle",{"title":38,"path":251,"stem":252,"icon":253},"/examples/database","4.examples/database","i-lucide-database",{"title":255,"path":256,"stem":257,"icon":258},"Elysia","/examples/elysia","4.examples/elysia","i-skill-icons-elysia-dark",{"title":260,"path":261,"stem":262,"icon":263},"Express","/examples/express","4.examples/express","i-simple-icons-express",{"title":265,"path":266,"stem":267,"icon":268},"Fastify","/examples/fastify","4.examples/fastify","i-simple-icons-fastify",{"title":270,"path":271,"stem":272,"icon":273},"Hello World","/examples/hello-world","4.examples/hello-world","i-lucide-sparkles",{"title":275,"path":276,"stem":277,"icon":278},"Hono","/examples/hono","4.examples/hono","i-logos-hono",{"title":280,"path":281,"stem":282,"icon":283},"Import Alias","/examples/import-alias","4.examples/import-alias","i-lucide-at-sign",{"title":285,"path":286,"stem":287,"icon":46},"Middleware","/examples/middleware","4.examples/middleware",{"title":289,"path":290,"stem":291,"icon":292},"Mono JSX","/examples/mono-jsx","4.examples/mono-jsx","i-lucide-brackets",{"title":294,"path":295,"stem":296,"icon":292},"Nano JSX","/examples/nano-jsx","4.examples/nano-jsx",{"title":48,"path":298,"stem":299,"icon":300},"/examples/plugins","4.examples/plugins","i-lucide-plug",{"title":302,"path":303,"stem":304,"icon":305},"Custom Renderer","/examples/renderer","4.examples/renderer","i-lucide-code",{"title":307,"path":308,"stem":309,"icon":310},"Runtime Config","/examples/runtime-config","4.examples/runtime-config","i-lucide-settings",{"title":312,"path":313,"stem":314,"icon":315},"Server Fetch","/examples/server-fetch","4.examples/server-fetch","i-lucide-arrow-right-left",{"title":317,"path":318,"stem":319,"icon":320},"Shiki","/examples/shiki","4.examples/shiki","i-lucide-highlighter",{"title":322,"path":323,"stem":324,"icon":325},"Virtual Routes","/examples/virtual-routes","4.examples/virtual-routes","i-lucide-box",{"title":327,"path":328,"stem":329,"icon":330},"Vite Nitro Plugin","/examples/vite-nitro-plugin","4.examples/vite-nitro-plugin","i-logos-vitejs",{"title":332,"path":333,"stem":334,"icon":335},"Vite RSC","/examples/vite-rsc","4.examples/vite-rsc","i-logos-react",{"title":337,"path":338,"stem":339,"icon":340},"Vite SSR HTML","/examples/vite-ssr-html","4.examples/vite-ssr-html","i-logos-html-5",{"title":342,"path":343,"stem":344,"icon":345},"SSR with Preact","/examples/vite-ssr-preact","4.examples/vite-ssr-preact","i-logos-preact",{"title":347,"path":348,"stem":349,"icon":335},"SSR with React","/examples/vite-ssr-react","4.examples/vite-ssr-react",{"title":351,"path":352,"stem":353,"icon":354},"SSR with SolidJS","/examples/vite-ssr-solid","4.examples/vite-ssr-solid","i-logos-solidjs-icon",{"title":356,"path":357,"stem":358,"icon":359},"SSR with TanStack Router","/examples/vite-ssr-tsr-react","4.examples/vite-ssr-tsr-react","i-simple-icons-tanstack",{"title":361,"path":362,"stem":363,"icon":359},"SSR with TanStack Start","/examples/vite-ssr-tss-react","4.examples/vite-ssr-tss-react",{"title":365,"path":366,"stem":367,"icon":368},"SSR with Vue Router","/examples/vite-ssr-vue-router","4.examples/vite-ssr-vue-router","i-logos-vue",{"title":370,"path":371,"stem":372,"icon":373},"Vite + tRPC","/examples/vite-trpc","4.examples/vite-trpc","i-simple-icons-trpc",{"title":58,"path":375,"stem":376,"icon":377},"/examples/websocket","4.examples/websocket","i-lucide-radio",{"title":379,"path":380,"stem":381,"children":382},"Blog","/blog","9.blog",[383,386],{"title":379,"path":380,"stem":384,"icon":385},"9.blog/index","i-lucide-file-text",{"title":387,"path":388,"stem":389,"icon":385},"Nitro v3 Beta is here!","/blog/v3-beta","9.blog/1.v3-beta",{"title":5,"path":391,"stem":392},"/","index",{"id":394,"title":162,"body":395,"description":735,"extension":736,"meta":737,"navigation":738,"path":163,"seo":739,"stem":164,"__hash__":740},"content/2.deploy/20.providers/genezio.md",{"type":396,"value":397,"toc":730},"minimark",[398,410,414,420,425,432,640,653,657,660,688,698,702,713,717,726],[399,400,401,405,406],"p",{},[402,403,404],"strong",{},"Preset:"," ",[407,408,409],"code",{},"genezio",[411,412],"read-more",{"to":413,"title":162},"https://genezio.com",[415,416,417],"important",{},[399,418,419],{},"\n🚧 This preset is currently experimental.",[421,422,424],"h2",{"id":423},"_1-project-setup","1. Project Setup",[399,426,427,428,431],{},"Create ",[407,429,430],{},"genezio.yaml"," file:",[433,434,438],"pre",{"className":435,"code":436,"language":437,"meta":5,"style":5},"language-yaml shiki shiki-themes github-light github-dark github-dark","# The name of the project.\nname: nitro-app\n# The version of the Genezio YAML configuration to parse.\nyamlVersion: 2\nbackend:\n  # The root directory of the backend.\n  path: .output/\n  # Information about the backend's programming language.\n  language:\n      # The name of the programming language.\n      name: js\n      # The package manager used by the backend.\n      packageManager: npm\n  # Information about the backend's functions.\n  functions:\n      # The name (label) of the function.\n      - name: nitroServer\n      # The path to the function's code.\n        path: server/\n        # The name of the function handler\n        handler: handler\n        # The entry point for the function.\n        entry: index.mjs\n","yaml",[407,439,440,449,464,470,482,491,497,508,514,522,528,539,545,556,562,570,576,589,595,606,612,623,629],{"__ignoreMap":5},[441,442,445],"span",{"class":443,"line":444},"line",1,[441,446,448],{"class":447},"sCsY4","# The name of the project.\n",[441,450,452,456,460],{"class":443,"line":451},2,[441,453,455],{"class":454},"sByVh","name",[441,457,459],{"class":458},"slsVL",": ",[441,461,463],{"class":462},"sfrk1","nitro-app\n",[441,465,467],{"class":443,"line":466},3,[441,468,469],{"class":447},"# The version of the Genezio YAML configuration to parse.\n",[441,471,473,476,478],{"class":443,"line":472},4,[441,474,475],{"class":454},"yamlVersion",[441,477,459],{"class":458},[441,479,481],{"class":480},"suiK_","2\n",[441,483,485,488],{"class":443,"line":484},5,[441,486,487],{"class":454},"backend",[441,489,490],{"class":458},":\n",[441,492,494],{"class":443,"line":493},6,[441,495,496],{"class":447},"  # The root directory of the backend.\n",[441,498,500,503,505],{"class":443,"line":499},7,[441,501,502],{"class":454},"  path",[441,504,459],{"class":458},[441,506,507],{"class":462},".output/\n",[441,509,511],{"class":443,"line":510},8,[441,512,513],{"class":447},"  # Information about the backend's programming language.\n",[441,515,517,520],{"class":443,"line":516},9,[441,518,519],{"class":454},"  language",[441,521,490],{"class":458},[441,523,525],{"class":443,"line":524},10,[441,526,527],{"class":447},"      # The name of the programming language.\n",[441,529,531,534,536],{"class":443,"line":530},11,[441,532,533],{"class":454},"      name",[441,535,459],{"class":458},[441,537,538],{"class":462},"js\n",[441,540,542],{"class":443,"line":541},12,[441,543,544],{"class":447},"      # The package manager used by the backend.\n",[441,546,548,551,553],{"class":443,"line":547},13,[441,549,550],{"class":454},"      packageManager",[441,552,459],{"class":458},[441,554,555],{"class":462},"npm\n",[441,557,559],{"class":443,"line":558},14,[441,560,561],{"class":447},"  # Information about the backend's functions.\n",[441,563,565,568],{"class":443,"line":564},15,[441,566,567],{"class":454},"  functions",[441,569,490],{"class":458},[441,571,573],{"class":443,"line":572},16,[441,574,575],{"class":447},"      # The name (label) of the function.\n",[441,577,579,582,584,586],{"class":443,"line":578},17,[441,580,581],{"class":458},"      - ",[441,583,455],{"class":454},[441,585,459],{"class":458},[441,587,588],{"class":462},"nitroServer\n",[441,590,592],{"class":443,"line":591},18,[441,593,594],{"class":447},"      # The path to the function's code.\n",[441,596,598,601,603],{"class":443,"line":597},19,[441,599,600],{"class":454},"        path",[441,602,459],{"class":458},[441,604,605],{"class":462},"server/\n",[441,607,609],{"class":443,"line":608},20,[441,610,611],{"class":447},"        # The name of the function handler\n",[441,613,615,618,620],{"class":443,"line":614},21,[441,616,617],{"class":454},"        handler",[441,619,459],{"class":458},[441,621,622],{"class":462},"handler\n",[441,624,626],{"class":443,"line":625},22,[441,627,628],{"class":447},"        # The entry point for the function.\n",[441,630,632,635,637],{"class":443,"line":631},23,[441,633,634],{"class":454},"        entry",[441,636,459],{"class":458},[441,638,639],{"class":462},"index.mjs\n",[411,641,643],{"to":642},"https://genezio.com/docs/project-structure/genezio-configuration-file/",[399,644,645,646,652],{},"To further customize the file to your needs, you can consult the\n",[647,648,651],"a",{"href":642,"rel":649},[650],"nofollow","official documentation",".",[421,654,656],{"id":655},"_2-deploy-your-project","2. Deploy your project",[399,658,659],{},"Build with the genezio nitro preset:",[433,661,665],{"className":662,"code":663,"language":664,"meta":5,"style":5},"language-bash shiki shiki-themes github-light github-dark github-dark","NITRO_PRESET=genezio npm run build\n","bash",[407,666,667],{"__ignoreMap":5},[441,668,669,672,676,678,682,685],{"class":443,"line":444},[441,670,671],{"class":458},"NITRO_PRESET",[441,673,675],{"class":674},"so5gQ","=",[441,677,409],{"class":462},[441,679,681],{"class":680},"shcOC"," npm",[441,683,684],{"class":462}," run",[441,686,687],{"class":462}," build\n",[399,689,690,691,697],{},"Deploy with ",[647,692,695],{"href":693,"rel":694},"https://npmjs.com/package/genezio",[650],[407,696,409],{}," cli:",[699,700],"pm-x",{"command":701},"genezio deploy",[411,703,706],{"to":704,"title":705},"https://genezio.com/docs/project-structure/backend-environment-variables","Backend Environment Variables",[399,707,708,709,652],{},"To set environment viarables, please check out ",[647,710,712],{"href":704,"rel":711},[650],"Genezio - Environment Variables",[421,714,716],{"id":715},"_3-monitor-your-project","3. Monitor your project",[399,718,719,720,725],{},"You can monitor and manage your application through the ",[647,721,724],{"href":722,"rel":723},"https://app.genez.io/dashboard",[650],"Genezio App Dashboard",". The dashboard URL, also provided after deployment, allows you to access comprehensive views of your project's status and logs.",[727,728,729],"style",{},"html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sByVh, html code.shiki .sByVh{--shiki-light:#22863A;--shiki-default:#85E89D;--shiki-dark:#85E89D}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .so5gQ, html code.shiki .so5gQ{--shiki-light:#D73A49;--shiki-default:#F97583;--shiki-dark:#F97583}html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}",{"title":5,"searchDepth":451,"depth":451,"links":731},[732,733,734],{"id":423,"depth":451,"text":424},{"id":655,"depth":451,"text":656},{"id":715,"depth":451,"text":716},"Deploy Nitro apps to Genezio.","md",{},{},{"title":162,"description":735},"SO9CycMAEmAcBXfJ3zKWB4iGM70yg2Z5WAY9S6_n83I",[742,744],{"title":158,"path":159,"stem":160,"description":743,"children":-1},"Deploy Nitro apps to AWS via Flightcontrol.",{"title":166,"path":167,"stem":168,"description":745,"children":-1},"Deploy Nitro apps to GitHub Pages.",1775753657111]