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