FLXBL Documentation
FLXBL is a graph-based Backend-as-a-Service for teams building multi-tenant applications with evolving schemas and relationship-heavy data. Define entities and relationships once, then use generated REST, GraphQL, TypeScript SDK, and CLI workflows without writing backend CRUD code.
Start Here
Quick Start
Install the CLI, authenticate, inspect context, generate a client, and query data.
FLXBL CLI
The complete command reference for schemas, data, APIs, auth, webhooks, and code generation.
LLM-Friendly CLI
Use JSON output, stdin payloads, dry-run previews, context bootstrap, and stable exit codes from agent loops.
llms.txt
A curated agent-readable map of the canonical FLXBL docs.
Install The CLI
The CLI is the default developer interface for local projects, CI jobs, and coding agents. It can authenticate, inspect tenant context, validate schemas, generate typed clients, query data, and preview mutations before sending them.
npm install -D @flxbl-dev/cli
# Opens browser-based login through FLXBL Platform
flxbl login
flxbl doctor
flxbl context --json
flxbl generateBuild With FLXBL
Schema Design
Schema JSON, supported relationship cardinalities, generated REST/GraphQL surfaces, validation, and cascade boundaries.
TypeScript SDK
Use the generated TypeScript client with typed collection helpers.
API Reference
Generated REST and GraphQL endpoints, relationship routes, batch operations, vector search, and file APIs.
GraphQL
Generated query fields, relationship arguments, cursor pagination, vector search, and batch mutations.
GraphQL Subscriptions
Stream live entity lifecycle events to WebSocket clients.
Query DSL
Filter, sort, paginate, and traverse graph relationships with JSON.
Architecture
FLXBL splits responsibilities across a PostgreSQL control plane, Neo4j data plane, and Redis infrastructure layer. That makes it a strong fit for tenants with evolving schemas and relationship-heavy workloads, while still exposing generated REST and GraphQL APIs to ordinary applications.
- Philosophy - domain-first, graph-first backend development.
- Architecture Guide - control plane, data plane, auth, and generated APIs.
- Integration Patterns - BFFs, mobile clients, serverless functions, and shared-schema backend services.