v1.1.0 ยท npm ยท GitHub

๐Ÿ—„๏ธ BackForge

Schema, types, seed data, and deploy โ€” all from one CLI. Supports Supabase, Firebase, PocketBase, and Appwrite.

$ npm install -g @magicpro97/backforge click to copy
Terminal
$ backforge init supabase
๐Ÿ—„๏ธ BackForge โ€” Backend Bootstrapper
โœ” Supabase project initialized
 
$ backforge schema define
๐Ÿ“‹ Schema Builder
? Table name: users
? Auto UUID: Yes
? Column: email (string)
โœ” Table "users" added with 4 columns
 
$ backforge types generate
โœ” TypeScript types generated โ†’ src/types/database.ts
 
$ backforge seed --count 50
โœ” Generated 50 records for 2 tables

Supported Providers

One CLI, multiple backend platforms.

โšก Supabase

Open-source Firebase alternative powered by PostgreSQL

๐Ÿ”ฅ Firebase

Google's app platform with Firestore, auth, hosting, functions

๐Ÿ“ฆ PocketBase

Open-source backend in a single binary with embedded SQLite

๐Ÿ—๏ธ Appwrite

Open-source backend server for web and mobile apps

Features

Everything you need from schema to production.

๐Ÿ“‹

Schema-First Design

Define data models in YAML with interactive builder

๐Ÿ“

TypeScript Types

Generate clean TypeScript interfaces from your schema

๐ŸŽฒ

Smart Seeding

Generate realistic fake data with smart field detection

โ˜๏ธ

One-Command Deploy

Deploy to Supabase Cloud, Firebase, Railway, Fly.io

๐Ÿ”ง

Interactive Wizards

Guided setup for providers, columns, credentials

๐Ÿ”„

Provider Agnostic

Switch between backends without rewriting schema

Quick Start

Get started in seconds.

npm install -g @magicpro97/backforge Install globally
backforge init supabase Initialize with Supabase
backforge schema define Define tables interactively
backforge types generate Generate TypeScript types
backforge seed --count 50 Generate fake seed data
backforge deploy Deploy to cloud

Part of the Forge Ecosystem

10 CLI tools for full-cycle app development & deployment.