Skip to content

bunvel/bunvel

Bunvel Banner

Bunvel

The fastest open-source backend platform

Documentation | Discord | Twitter


Bunvel is a Backend-as-a-Service (BaaS) platform that combines authentication, real-time subscriptions, storage, and REST APIs. Built on [Elysia](https://elysiajs.com) and [Bun](https://bun.sh), it delivers high performance with lightweight containers and minimal resource usage.


Note: This is currently a hobby project for learning and understanding backend concepts. It is not yet production-ready, but with community contributions, it may evolve into a production-ready solution in the future.

✨ Features

  • 🔐 Authentication - Auth with email/password (coming soon)
  • 💾 Storage - File upload/download with bucket management (coming soon)
  • Realtime - WebSocket subscriptions for live data updates (coming soon)
  • 🔌 REST API - Auto-generated REST APIs from your database schema
  • 🎨 Studio - Beautiful admin dashboard built with TanStack Start

Table Editor SQL Editor Tables List

🏗️ Architecture

Bunvel consists of two main components:

  • Backend (app/) - Elysia-based API server handling all services
  • Studio (studio/) - TanStack Start admin dashboard for management

🚀 Quick Start

Prerequisites

  • Bun >= 1.3.5
  • PostgreSQL >= 18

Development

git clone https://github.com/bunvel/bunvel.git

cd bunvel

# Start the services
docker compose -f docker-compose-dev.yml up --build

Self Host

git clone --depth 1 https://github.com/bunvel/bunvel.git

# Create a new project directory
mkdir bunvel-project

# Copy the docker files to your project
cp -rf bunvel/docker/* bunvel-project

# Copy the example environment file
cp bunvel/docker/.env.example bunvel-project/.env

# Switch to your project directory
cd bunvel-project

# Start the services
docker compose up -d

The backend will be available at http://localhost:8000 and the studio at http://localhost:3000.

REST API Access

The auto-generated REST API is accessible at http://localhost:8000/rest.

For detailed API usage and capabilities, refer to the PostgREST documentation.

Note: As of now, there is no authentication implemented, so all endpoints are publicly accessible.

🌟 Inspiration

Bunvel is inspired by Supabase but takes a different architectural approach by consolidating all services into a single, unified application for improved performance and simpler deployment.

Built with ❤️ using Bun, Elysia, and TanStack Start

Contributors