Bend Logo

Bend
Backend Bundler

A production-ready backend scaffolder that creates clean, optimized, secure backend apps instantly. Auto-detects runtime, language, framework, and ORM with best practices built in.

Why Bend?

Smart Detection

Auto-detects Node/Bun and package manager. Intelligently configures JS/TS, Express/Fastify, and Mongoose/Prisma based on your preferences.

Production Ready

Comes with security headers, rate limiting, logging, error handling, compression, and graceful shutdown pre-configured out of the box.

TypeScript First

Built with TypeScript in mind. Enjoy full type safety, minimal boilerplate, and optimized configurations for the best developer experience.

Get Started in Seconds

Bootstrap your next backend project with a single command.

$npm create bend@latest

Multiple Stacks

Whether you prefer Express or Fastify, Mongoose or Prisma, Bend has you covered. It auto-wires everything with preconfigured routing, controllers, and services so you can start coding logic immediately.

Express
Standard & Robust
Fastify
High Performance
Prisma
Type-safe ORM
Mongoose
MongoDB ODM

Secure by Default

Security isn't an afterthought. Bend apps come with Helmet for headers, CORS configuration, HPP (HTTP Parameter Pollution) protection, rate limiting, and compression enabled by default.

helmet() // Security Headers
cors() // Cross-Origin Resource Sharing
rateLimit() // DDoS Protection
hpp() // Parameter Pollution

Logging & Monitoring

Built-in Winston logger with daily rotation, HTTP request logging, and structured metadata. Debugging is easier when your logs are clean, consistent, and informative.

[2069-06-09 14:30:01] INFO: Server started on port 3000
[2069-06-09 14:30:05] INFO: DB Connected successfully
[2069-06-09 14:32:10] HTTP: GET /api/users 200 45ms
[2069-06-09 14:35:22] WARN: Rate limit exceeded for IP 127.0.0.1

Developer Experience

We prioritize your workflow. TypeScript-first approach, nodemon for hot reloading, esbuild for fast builds, and a consistent, scalable folder structure that makes sense.

10x
Faster Setup

Clean Architecture

A scalable project structure that grows with your application.

my-backend/
src/
config/
controllers/
models/
routes/
services/
middlewares/
utils/
app.ts
server.ts
.env
package.json
tsconfig.json