Builder Box offers 4 different backend configurations to suit your development preferences and project requirements. Each option provides the same functionality but with different technology stacks and bundlers.
server/.env
to web/.env
for NextAPI configurations, and the
bundler differs between Bun and Node.js.server/.env
to web/.env
. This is because
the API routes run within the Next.js application.Configuration | Bundler | Performance | Bundle Size |
---|---|---|---|
Hono + Bun | Bun bundler | ⭐⭐⭐⭐⭐ | Small |
NextAPI + Node | Webpack | ⭐⭐⭐ | Medium |
Hono + Node | Webpack/esbuild | ⭐⭐⭐⭐ | Small |
NextAPI + Bun | Bun bundler | ⭐⭐⭐⭐⭐ | Small |
Configuration | Startup Time | Memory Usage | Cold Start |
---|---|---|---|
Hono + Bun | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |
NextAPI + Node | ⭐⭐⭐ | ⭐⭐⭐ | ⭐⭐⭐ |
Hono + Node | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ |
NextAPI + Bun | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ |