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