[{"data":1,"prerenderedAt":581},["ShallowReactive",2],{"navigation":3,"-deploy-providers-genezio":228,"-deploy-providers-genezio-surround":576},[4,83,212,218,225],{"title":5,"path":6,"stem":7,"children":8,"icon":82},"","/docs","1.docs/1.index",[9,12,17,22,27,32,37,42,47,52,57,62,67,72,77],{"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},"Server Entry","/docs/server-entry","1.docs/6.server-entry","ri:server-line",{"title":63,"path":64,"stem":65,"icon":66},"Cache","/docs/cache","1.docs/7.cache","ri:speed-line",{"title":68,"path":69,"stem":70,"icon":71},"KV Storage","/docs/storage","1.docs/8.storage","carbon:datastore",{"title":73,"path":74,"stem":75,"icon":76},"Migration Guide","/docs/migration","1.docs/99.migration","ri:arrow-right-up-line",{"title":78,"path":79,"stem":80,"icon":81},"Nightly Channel","/docs/nightly","1.docs/99.nightly","ri:moon-fill","i-lucide-book-open",{"title":84,"path":85,"stem":86,"children":87,"icon":89},"Deploy","/deploy","2.deploy/0.index",[88,90,111],{"title":84,"path":85,"stem":86,"icon":89},"ri:upload-cloud-2-line",{"title":91,"path":92,"stem":93,"children":94,"page":110},"Runtimes","/deploy/runtimes","2.deploy/10.runtimes",[95,100,105],{"title":96,"path":97,"stem":98,"icon":99},"Node.js","/deploy/runtimes/node","2.deploy/10.runtimes/1.node","akar-icons:node-fill",{"title":101,"path":102,"stem":103,"icon":104},"Bun","/deploy/runtimes/bun","2.deploy/10.runtimes/bun","simple-icons:bun",{"title":106,"path":107,"stem":108,"icon":109},"Deno","/deploy/runtimes/deno","2.deploy/10.runtimes/deno","simple-icons:deno",false,{"title":112,"path":113,"stem":114,"children":115,"page":110},"Providers","/deploy/providers","2.deploy/20.providers",[116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208],{"title":117,"path":118,"stem":119},"Alwaysdata","/deploy/providers/alwaysdata","2.deploy/20.providers/alwaysdata",{"title":121,"path":122,"stem":123},"AWS Lambda","/deploy/providers/aws","2.deploy/20.providers/aws",{"title":125,"path":126,"stem":127},"AWS Amplify","/deploy/providers/aws-amplify","2.deploy/20.providers/aws-amplify",{"title":129,"path":130,"stem":131},"Azure","/deploy/providers/azure","2.deploy/20.providers/azure",{"title":133,"path":134,"stem":135},"Cleavr","/deploy/providers/cleavr","2.deploy/20.providers/cleavr",{"title":137,"path":138,"stem":139},"Cloudflare","/deploy/providers/cloudflare","2.deploy/20.providers/cloudflare",{"title":141,"path":142,"stem":143},"Deno Deploy","/deploy/providers/deno-deploy","2.deploy/20.providers/deno-deploy",{"title":145,"path":146,"stem":147},"DigitalOcean","/deploy/providers/digitalocean","2.deploy/20.providers/digitalocean",{"title":149,"path":150,"stem":151},"Firebase","/deploy/providers/firebase","2.deploy/20.providers/firebase",{"title":153,"path":154,"stem":155},"Flightcontrol","/deploy/providers/flightcontrol","2.deploy/20.providers/flightcontrol",{"title":157,"path":158,"stem":159},"Genezio","/deploy/providers/genezio","2.deploy/20.providers/genezio",{"title":161,"path":162,"stem":163},"GitHub Pages","/deploy/providers/github-pages","2.deploy/20.providers/github-pages",{"title":165,"path":166,"stem":167},"GitLab Pages","/deploy/providers/gitlab-pages","2.deploy/20.providers/gitlab-pages",{"title":169,"path":170,"stem":171},"Heroku","/deploy/providers/heroku","2.deploy/20.providers/heroku",{"title":173,"path":174,"stem":175},"IIS","/deploy/providers/iis","2.deploy/20.providers/iis",{"title":177,"path":178,"stem":179},"Koyeb","/deploy/providers/koyeb","2.deploy/20.providers/koyeb",{"title":181,"path":182,"stem":183},"Netlify","/deploy/providers/netlify","2.deploy/20.providers/netlify",{"title":185,"path":186,"stem":187},"Platform.sh","/deploy/providers/platform-sh","2.deploy/20.providers/platform-sh",{"title":189,"path":190,"stem":191},"Render.com","/deploy/providers/render","2.deploy/20.providers/render",{"title":193,"path":194,"stem":195},"StormKit","/deploy/providers/stormkit","2.deploy/20.providers/stormkit",{"title":197,"path":198,"stem":199},"Vercel","/deploy/providers/vercel","2.deploy/20.providers/vercel",{"title":201,"path":202,"stem":203},"Zeabur","/deploy/providers/zeabur","2.deploy/20.providers/zeabur",{"title":205,"path":206,"stem":207},"Zephyr Cloud","/deploy/providers/zephyr","2.deploy/20.providers/zephyr",{"title":209,"path":210,"stem":211},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":213,"path":214,"stem":215,"children":216,"icon":36},"Config","/config","3.config/0.index",[217],{"title":213,"path":214,"stem":215,"icon":36},{"title":219,"path":220,"stem":221,"children":222,"icon":224},"Examples","/examples","4.examples/0.index",[223],{"title":219,"path":220,"stem":221,"icon":224},"i-lucide-folder-code",{"title":5,"path":226,"stem":227},"/","index",{"id":229,"title":157,"body":230,"description":570,"extension":571,"meta":572,"navigation":573,"path":158,"seo":574,"stem":159,"__hash__":575},"content/2.deploy/20.providers/genezio.md",{"type":231,"value":232,"toc":565},"minimark",[233,245,249,255,260,267,475,488,492,495,523,533,537,548,552,561],[234,235,236,240,241],"p",{},[237,238,239],"strong",{},"Preset:"," ",[242,243,244],"code",{},"genezio",[246,247],"read-more",{"to":248,"title":157},"https://genezio.com",[250,251,252],"important",{},[234,253,254],{},"\n🚧 This preset is currently experimental.",[256,257,259],"h2",{"id":258},"_1-project-setup","1. Project Setup",[234,261,262,263,266],{},"Create ",[242,264,265],{},"genezio.yaml"," file:",[268,269,273],"pre",{"className":270,"code":271,"language":272,"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",[242,274,275,284,299,305,317,326,332,343,349,357,363,374,380,391,397,405,411,424,430,441,447,458,464],{"__ignoreMap":5},[276,277,280],"span",{"class":278,"line":279},"line",1,[276,281,283],{"class":282},"sCsY4","# The name of the project.\n",[276,285,287,291,295],{"class":278,"line":286},2,[276,288,290],{"class":289},"sByVh","name",[276,292,294],{"class":293},"slsVL",": ",[276,296,298],{"class":297},"sfrk1","nitro-app\n",[276,300,302],{"class":278,"line":301},3,[276,303,304],{"class":282},"# The version of the Genezio YAML configuration to parse.\n",[276,306,308,311,313],{"class":278,"line":307},4,[276,309,310],{"class":289},"yamlVersion",[276,312,294],{"class":293},[276,314,316],{"class":315},"suiK_","2\n",[276,318,320,323],{"class":278,"line":319},5,[276,321,322],{"class":289},"backend",[276,324,325],{"class":293},":\n",[276,327,329],{"class":278,"line":328},6,[276,330,331],{"class":282},"  # The root directory of the backend.\n",[276,333,335,338,340],{"class":278,"line":334},7,[276,336,337],{"class":289},"  path",[276,339,294],{"class":293},[276,341,342],{"class":297},".output/\n",[276,344,346],{"class":278,"line":345},8,[276,347,348],{"class":282},"  # Information about the backend's programming language.\n",[276,350,352,355],{"class":278,"line":351},9,[276,353,354],{"class":289},"  language",[276,356,325],{"class":293},[276,358,360],{"class":278,"line":359},10,[276,361,362],{"class":282},"      # The name of the programming language.\n",[276,364,366,369,371],{"class":278,"line":365},11,[276,367,368],{"class":289},"      name",[276,370,294],{"class":293},[276,372,373],{"class":297},"js\n",[276,375,377],{"class":278,"line":376},12,[276,378,379],{"class":282},"      # The package manager used by the backend.\n",[276,381,383,386,388],{"class":278,"line":382},13,[276,384,385],{"class":289},"      packageManager",[276,387,294],{"class":293},[276,389,390],{"class":297},"npm\n",[276,392,394],{"class":278,"line":393},14,[276,395,396],{"class":282},"  # Information about the backend's functions.\n",[276,398,400,403],{"class":278,"line":399},15,[276,401,402],{"class":289},"  functions",[276,404,325],{"class":293},[276,406,408],{"class":278,"line":407},16,[276,409,410],{"class":282},"      # The name (label) of the function.\n",[276,412,414,417,419,421],{"class":278,"line":413},17,[276,415,416],{"class":293},"      - ",[276,418,290],{"class":289},[276,420,294],{"class":293},[276,422,423],{"class":297},"nitroServer\n",[276,425,427],{"class":278,"line":426},18,[276,428,429],{"class":282},"      # The path to the function's code.\n",[276,431,433,436,438],{"class":278,"line":432},19,[276,434,435],{"class":289},"        path",[276,437,294],{"class":293},[276,439,440],{"class":297},"server/\n",[276,442,444],{"class":278,"line":443},20,[276,445,446],{"class":282},"        # The name of the function handler\n",[276,448,450,453,455],{"class":278,"line":449},21,[276,451,452],{"class":289},"        handler",[276,454,294],{"class":293},[276,456,457],{"class":297},"handler\n",[276,459,461],{"class":278,"line":460},22,[276,462,463],{"class":282},"        # The entry point for the function.\n",[276,465,467,470,472],{"class":278,"line":466},23,[276,468,469],{"class":289},"        entry",[276,471,294],{"class":293},[276,473,474],{"class":297},"index.mjs\n",[246,476,478],{"to":477},"https://genezio.com/docs/project-structure/genezio-configuration-file/",[234,479,480,481,487],{},"To further customize the file to your needs, you can consult the\n",[482,483,486],"a",{"href":477,"rel":484},[485],"nofollow","official documentation",".",[256,489,491],{"id":490},"_2-deploy-your-project","2. Deploy your project",[234,493,494],{},"Build with the genezio nitro preset:",[268,496,500],{"className":497,"code":498,"language":499,"meta":5,"style":5},"language-bash shiki shiki-themes github-light github-dark github-dark","NITRO_PRESET=genezio npm run build\n","bash",[242,501,502],{"__ignoreMap":5},[276,503,504,507,511,513,517,520],{"class":278,"line":279},[276,505,506],{"class":293},"NITRO_PRESET",[276,508,510],{"class":509},"so5gQ","=",[276,512,244],{"class":297},[276,514,516],{"class":515},"shcOC"," npm",[276,518,519],{"class":297}," run",[276,521,522],{"class":297}," build\n",[234,524,525,526,532],{},"Deploy with ",[482,527,530],{"href":528,"rel":529},"https://npmjs.com/package/genezio",[485],[242,531,244],{}," cli:",[534,535],"pm-x",{"command":536},"genezio deploy",[246,538,541],{"to":539,"title":540},"https://genezio.com/docs/project-structure/backend-environment-variables","Backend Environment Variables",[234,542,543,544,487],{},"To set environment viarables, please check out ",[482,545,547],{"href":539,"rel":546},[485],"Genezio - Environment Variables",[256,549,551],{"id":550},"_3-monitor-your-project","3. Monitor your project",[234,553,554,555,560],{},"You can monitor and manage your application through the ",[482,556,559],{"href":557,"rel":558},"https://app.genez.io/dashboard",[485],"Genezio App Dashboard",". The dashboard URL, also provided after deployment, allows you to access comprehensive views of your project's status and logs.",[562,563,564],"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":286,"depth":286,"links":566},[567,568,569],{"id":258,"depth":286,"text":259},{"id":490,"depth":286,"text":491},{"id":550,"depth":286,"text":551},"Deploy Nitro apps to Genezio.","md",{},{},{"title":157,"description":570},"SO9CycMAEmAcBXfJ3zKWB4iGM70yg2Z5WAY9S6_n83I",[577,579],{"title":153,"path":154,"stem":155,"description":578,"children":-1},"Deploy Nitro apps to AWS via Flightcontrol.",{"title":161,"path":162,"stem":163,"description":580,"children":-1},"Deploy Nitro apps to GitHub Pages.",1773176973186]