{"compiled":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nfunction _createMdxContent(props) {\n  const _components = {\n    a: \"a\",\n    br: \"br\",\n    code: \"code\",\n    h2: \"h2\",\n    h3: \"h3\",\n    li: \"li\",\n    ol: \"ol\",\n    p: \"p\",\n    strong: \"strong\",\n    ...props.components\n  };\n  return _jsxs(_Fragment, {\n    children: [_jsx(_components.p, {\n      children: \"Zely is a lightweight backend framework for Node.js that prioritizes speed, simplicity, and modern development practices.\"\n    }), \"\\n\", _jsx(_components.h2, {\n      children: \"Features\"\n    }), \"\\n\", _jsxs(_components.ol, {\n      children: [\"\\n\", _jsx(_components.li, {\n        children: _jsx(_components.strong, {\n          children: \"File based Routing\"\n        })\n      }), \"\\n\"]\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"Automatically generate routes based on file structure.\"\n    }), \"\\n\", _jsxs(_components.ol, {\n      start: \"2\",\n      children: [\"\\n\", _jsx(_components.li, {\n        children: _jsx(_components.strong, {\n          children: \"Server Restarting\"\n        })\n      }), \"\\n\"]\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"No need to restart your server to apply changes.\"\n    }), \"\\n\", _jsxs(_components.ol, {\n      start: \"3\",\n      children: [\"\\n\", _jsx(_components.li, {\n        children: _jsx(_components.strong, {\n          children: \"TypeScript Supported\"\n        })\n      }), \"\\n\"]\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"Fully supports TypeScript.\"\n    }), \"\\n\", _jsxs(_components.ol, {\n      start: \"4\",\n      children: [\"\\n\", _jsx(_components.li, {\n        children: _jsx(_components.strong, {\n          children: \"Blazing Fast\"\n        })\n      }), \"\\n\"]\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [\"Built on \", _jsx(_components.a, {\n        href: \"https://esbuild.github.io\",\n        children: \"esbuild\"\n      }), \" (optionally \", _jsx(_components.a, {\n        href: \"https://swc.rs\",\n        children: \"swc\"\n      }), \") for unparalleled speed and efficiency.\"]\n    }), \"\\n\", _jsx(_components.h2, {\n      children: \"Introduction\"\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"Zely is a minimalist Node.js backend framework influenced by Next.js.\\nIt aims to streamline backend development while being the fastest and lightest solution available.\"\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [\"Under the hood, Zely uses \", _jsx(_components.a, {\n        href: \"https://github.com/zely-js/senta\",\n        children: \"own engine\"\n      }), \" for its lightweight and high-performance server capabilities,\\nand \", _jsx(_components.a, {\n        href: \"https://esbuild.github.io\",\n        children: \"esbuild\"\n      }), \" to optimize compile times and runtime efficiency.\"]\n    }), \"\\n\", _jsx(_components.h2, {\n      children: \"Why Zely?\"\n    }), \"\\n\", _jsx(_components.h3, {\n      children: \"Challenges\"\n    }), \"\\n\", _jsxs(_components.ol, {\n      children: [\"\\n\", _jsx(_components.li, {\n        children: _jsx(_components.strong, {\n          children: \"Development Bottlenecks\"\n        })\n      }), \"\\n\"]\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [\"Setting up a simple server in TypeScript involves multiple steps:\", _jsx(_components.br, {}), \"\\n\", \"installing dependencies, writing code, compiling \", _jsx(_components.code, {\n        children: \".ts\"\n      }), \" files to \", _jsx(_components.code, {\n        children: \".js\"\n      }), \", and then running the server.\"]\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"This process is time-consuming and inefficient.\"\n    }), \"\\n\", _jsxs(_components.ol, {\n      start: \"2\",\n      children: [\"\\n\", _jsx(_components.li, {\n        children: _jsx(_components.strong, {\n          children: \"Cumbersome Routing\"\n        })\n      }), \"\\n\"]\n    }), \"\\n\", _jsxs(_components.p, {\n      children: [\"Managing routes in traditional frameworks becomes increasingly complex as the number of endpoints grows (e.g., \", _jsx(_components.code, {\n        children: \"/post/*\"\n      }), \", \", _jsx(_components.code, {\n        children: \"/user/*\"\n      }), \").\"]\n    }), \"\\n\", _jsx(_components.h3, {\n      children: \"Solution\"\n    }), \"\\n\", _jsxs(_components.ol, {\n      children: [\"\\n\", _jsx(_components.li, {\n        children: _jsx(_components.strong, {\n          children: \"Simplified Workflow\"\n        })\n      }), \"\\n\"]\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"Zely removes the hassle of manual setup by integrating everything into a single framework.\"\n    }), \"\\n\", _jsxs(_components.ol, {\n      start: \"2\",\n      children: [\"\\n\", _jsx(_components.li, {\n        children: _jsx(_components.strong, {\n          children: \"Optimized Routing\"\n        })\n      }), \"\\n\"]\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"With file-based routing, Zely minimizes the need for explicit configuration.\"\n    }), \"\\n\", _jsxs(_components.ol, {\n      start: \"3\",\n      children: [\"\\n\", _jsx(_components.li, {\n        children: _jsx(_components.strong, {\n          children: \"Unpredicable Speed\"\n        })\n      }), \"\\n\"]\n    }), \"\\n\", _jsx(_components.p, {\n      children: \"Zely ensures your development experience is fast.\"\n    })]\n  });\n}\nfunction MDXContent(props = {}) {\n  const {wrapper: MDXLayout} = props.components || ({});\n  return MDXLayout ? _jsx(MDXLayout, {\n    ...props,\n    children: _jsx(_createMdxContent, {\n      ...props\n    })\n  }) : _createMdxContent(props);\n}\nreturn {\n  default: MDXContent\n};\n","posts":[{"overview":"Overview"},{"why-zely":"Why Zely"},{"getting-started":"Getting Started"},{"config":"Config References"},{"benchmark":"Performance"},{"troubleshooting":"Troubleshooting"},{"migration-to-dobs":"Migration to dobs"},{"routing":"Routing"},{"handler":"Handler"},{"methods":"Methods"},{"send-data":"Sending Data"},{"context":"Context"},{"page-data":"Page Data"},{"customizing-response":"Customizing Response"},{"data-fetching":"Data Fetching"},{"middleware":"Middleware"},{"auto":"Auto Importing"},{"provided-middlewares":"Provided Middlewares"},{"caching":"Caching"},{"store":"Data Caching"},{"cache":"Data Access"},{"serpack":"Serpack"},{"asset":"Asset"},{"debugging":"Debugging"},{"server-data":"Server Data"},{"frontend":"Frontend"},{"html":"HTML"},{"migration":"Migration"},{"migration-3x":"Migration from 3.x"},{"migration-2x":"Migration from 2.x"},{"community":"Community"},{"contributing":"Contributing"},{"playground":"Playground"}],"target":{"why-zely":"Why Zely"},"targetcategory":"Overview","directory":"docs"}