📦
Bunty
⚡ A Modern Full-Stack Framework

Build Amazing Apps
With Bunty

A complete TypeScript framework featuring ORM, HTTP Server, Rest API Builder, Router, and Dependency Injection. Everything you need to build modern web applications in one powerful package.

Terminal
bun create bunty app

Why Choose Bunty?

Everything you need in one powerful framework

🚀

Lightning Fast

Built for performance with optimized routing, minimal overhead, and efficient data handling.

🗄️

Powerful ORM

Type-safe database operations with migrations, relationships, and query builders out of the box.

🌐

HTTP & Routing

Modern HTTP server with advanced routing, middleware support, and RESTful API utilities.

💉

Dependency Injection

Clean architecture with powerful DI container for better testability and maintainability.

📝

TypeScript First

Full TypeScript support with excellent type inference and compile-time safety.

🛠️

Developer Experience

CLI tools, hot reload, excellent documentation, and intuitive APIs for rapid development.

Get Started in Minutes

Create your first Bunty application

1

Create a New Project

bun create bunty app
cd app
2

Install Dependencies

bun install
3

Start Developing

bun run dev

Your app is now running at http://localhost:3000 🎉

Simple & Powerful

See how easy it is to build with Bunty

🌐 HTTP Server

import { createApp } from '@bunty/http';

const app = createApp();

app.get('/api/users', async (req, res) => {
  const users = await db.users.findAll();
  return res.json(users);
});

app.listen(3000);
// Server running on port 3000 ✨

🗄️ Type-Safe ORM

import { Model, Column } from '@bunty/orm';

class User extends Model {
  @Column({ primary: true })
  id: number;

  @Column()
  name: string;

  @Column()
  email: string;
}

// Type-safe queries
const user = await User.findById(1);

💉 Dependency Injection

import { Injectable, Inject } from '@bunty/core';

@Injectable()
class UserService {
  constructor(
    @Inject() private db: Database
  ) {}

  async getUsers() {
    return this.db.users.findAll();
  }
}

// Clean, testable architecture

🛤️ Advanced Routing

import { Router } from '@bunty/http';

const router = new Router();

router
  .group({ prefix: '/api', middleware: [auth] })
  .get('/users/:id', getUserById)
  .post('/users', createUser)
  .put('/users/:id', updateUser)
  .delete('/users/:id', deleteUser);

// Clean, declarative routing

Ready to Build Something Amazing?

Join the developers building the next generation of web applications with Bunty