[{"data":1,"prerenderedAt":570},["ShallowReactive",2],{"navigation":3,"-deploy-providers-genezio":217,"-deploy-providers-genezio-surround":565},[4,83,208,214],{"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],{"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},"Zerops","/deploy/providers/zerops","2.deploy/20.providers/zerops",{"title":209,"path":210,"stem":211,"children":212,"icon":36},"Config","/config","3.config/0.index",[213],{"title":209,"path":210,"stem":211,"icon":36},{"title":5,"path":215,"stem":216},"/","index",{"id":218,"title":157,"body":219,"description":559,"extension":560,"meta":561,"navigation":562,"path":158,"seo":563,"stem":159,"__hash__":564},"content/2.deploy/20.providers/genezio.md",{"type":220,"value":221,"toc":554},"minimark",[222,234,238,244,249,256,464,477,481,484,512,522,526,537,541,550],[223,224,225,229,230],"p",{},[226,227,228],"strong",{},"Preset:"," ",[231,232,233],"code",{},"genezio",[235,236],"read-more",{"to":237,"title":157},"https://genezio.com",[239,240,241],"important",{},[223,242,243],{},"\n🚧 This preset is currently experimental.",[245,246,248],"h2",{"id":247},"_1-project-setup","1. Project Setup",[223,250,251,252,255],{},"Create ",[231,253,254],{},"genezio.yaml"," file:",[257,258,262],"pre",{"className":259,"code":260,"language":261,"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",[231,263,264,273,288,294,306,315,321,332,338,346,352,363,369,380,386,394,400,413,419,430,436,447,453],{"__ignoreMap":5},[265,266,269],"span",{"class":267,"line":268},"line",1,[265,270,272],{"class":271},"sCsY4","# The name of the project.\n",[265,274,276,280,284],{"class":267,"line":275},2,[265,277,279],{"class":278},"sByVh","name",[265,281,283],{"class":282},"slsVL",": ",[265,285,287],{"class":286},"sfrk1","nitro-app\n",[265,289,291],{"class":267,"line":290},3,[265,292,293],{"class":271},"# The version of the Genezio YAML configuration to parse.\n",[265,295,297,300,302],{"class":267,"line":296},4,[265,298,299],{"class":278},"yamlVersion",[265,301,283],{"class":282},[265,303,305],{"class":304},"suiK_","2\n",[265,307,309,312],{"class":267,"line":308},5,[265,310,311],{"class":278},"backend",[265,313,314],{"class":282},":\n",[265,316,318],{"class":267,"line":317},6,[265,319,320],{"class":271},"  # The root directory of the backend.\n",[265,322,324,327,329],{"class":267,"line":323},7,[265,325,326],{"class":278},"  path",[265,328,283],{"class":282},[265,330,331],{"class":286},".output/\n",[265,333,335],{"class":267,"line":334},8,[265,336,337],{"class":271},"  # Information about the backend's programming language.\n",[265,339,341,344],{"class":267,"line":340},9,[265,342,343],{"class":278},"  language",[265,345,314],{"class":282},[265,347,349],{"class":267,"line":348},10,[265,350,351],{"class":271},"      # The name of the programming language.\n",[265,353,355,358,360],{"class":267,"line":354},11,[265,356,357],{"class":278},"      name",[265,359,283],{"class":282},[265,361,362],{"class":286},"js\n",[265,364,366],{"class":267,"line":365},12,[265,367,368],{"class":271},"      # The package manager used by the backend.\n",[265,370,372,375,377],{"class":267,"line":371},13,[265,373,374],{"class":278},"      packageManager",[265,376,283],{"class":282},[265,378,379],{"class":286},"npm\n",[265,381,383],{"class":267,"line":382},14,[265,384,385],{"class":271},"  # Information about the backend's functions.\n",[265,387,389,392],{"class":267,"line":388},15,[265,390,391],{"class":278},"  functions",[265,393,314],{"class":282},[265,395,397],{"class":267,"line":396},16,[265,398,399],{"class":271},"      # The name (label) of the function.\n",[265,401,403,406,408,410],{"class":267,"line":402},17,[265,404,405],{"class":282},"      - ",[265,407,279],{"class":278},[265,409,283],{"class":282},[265,411,412],{"class":286},"nitroServer\n",[265,414,416],{"class":267,"line":415},18,[265,417,418],{"class":271},"      # The path to the function's code.\n",[265,420,422,425,427],{"class":267,"line":421},19,[265,423,424],{"class":278},"        path",[265,426,283],{"class":282},[265,428,429],{"class":286},"server/\n",[265,431,433],{"class":267,"line":432},20,[265,434,435],{"class":271},"        # The name of the function handler\n",[265,437,439,442,444],{"class":267,"line":438},21,[265,440,441],{"class":278},"        handler",[265,443,283],{"class":282},[265,445,446],{"class":286},"handler\n",[265,448,450],{"class":267,"line":449},22,[265,451,452],{"class":271},"        # The entry point for the function.\n",[265,454,456,459,461],{"class":267,"line":455},23,[265,457,458],{"class":278},"        entry",[265,460,283],{"class":282},[265,462,463],{"class":286},"index.mjs\n",[235,465,467],{"to":466},"https://genezio.com/docs/project-structure/genezio-configuration-file/",[223,468,469,470,476],{},"To further customize the file to your needs, you can consult the\n",[471,472,475],"a",{"href":466,"rel":473},[474],"nofollow","official documentation",".",[245,478,480],{"id":479},"_2-deploy-your-project","2. Deploy your project",[223,482,483],{},"Build with the genezio nitro preset:",[257,485,489],{"className":486,"code":487,"language":488,"meta":5,"style":5},"language-bash shiki shiki-themes github-light github-dark github-dark","NITRO_PRESET=genezio npm run build\n","bash",[231,490,491],{"__ignoreMap":5},[265,492,493,496,500,502,506,509],{"class":267,"line":268},[265,494,495],{"class":282},"NITRO_PRESET",[265,497,499],{"class":498},"so5gQ","=",[265,501,233],{"class":286},[265,503,505],{"class":504},"shcOC"," npm",[265,507,508],{"class":286}," run",[265,510,511],{"class":286}," build\n",[223,513,514,515,521],{},"Deploy with ",[471,516,519],{"href":517,"rel":518},"https://npmjs.com/package/genezio",[474],[231,520,233],{}," cli:",[523,524],"pm-x",{"command":525},"genezio deploy",[235,527,530],{"to":528,"title":529},"https://genezio.com/docs/project-structure/backend-environment-variables","Backend Environment Variables",[223,531,532,533,476],{},"To set environment viarables, please check out ",[471,534,536],{"href":528,"rel":535},[474],"Genezio - Environment Variables",[245,538,540],{"id":539},"_3-monitor-your-project","3. Monitor your project",[223,542,543,544,549],{},"You can monitor and manage your application through the ",[471,545,548],{"href":546,"rel":547},"https://app.genez.io/dashboard",[474],"Genezio App Dashboard",". The dashboard URL, also provided after deployment, allows you to access comprehensive views of your project's status and logs.",[551,552,553],"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":275,"depth":275,"links":555},[556,557,558],{"id":247,"depth":275,"text":248},{"id":479,"depth":275,"text":480},{"id":539,"depth":275,"text":540},"Deploy Nitro apps to Genezio.","md",{},{},{"title":157,"description":559},"SO9CycMAEmAcBXfJ3zKWB4iGM70yg2Z5WAY9S6_n83I",[566,568],{"title":153,"path":154,"stem":155,"description":567,"children":-1},"Deploy Nitro apps to AWS via Flightcontrol.",{"title":161,"path":162,"stem":163,"description":569,"children":-1},"Deploy Nitro apps to GitHub Pages.",1764005315027]