Skip to content

Welcome to Singlebase

Singlebase is a modern Backend-as-a-Service platform that provides production-ready APIs to build applications faster. Skip months of backend development and focus on what makes your product unique.

Why Singlebase?

One platform for your entire backend:

  • Document Database - NoSQL JSON storage with powerful querying
  • Authentication - User management and secure sign-in
  • File Storage - Secure uploads with automatic image processing
  • Vector Database - AI-powered semantic search
  • BaseAI - Content generation, analysis, and translation

Built for developers:

  • BaseQL - Unified query language for all operations
  • Deploy in minutes, not months
  • Auto-scaling infrastructure
  • Enterprise-grade security
  • Simple, consistent API

BaseQL

Singlebase uses BaseQL - a simple, unified query language inspired by MongoDB. Learn one syntax, use it across your entire backend.

json
{
  "op": "db.find",
  "collection": "products",
  "filter": { "price:$between": [10, 100] },
  "sort": "price asc"
}

Key features:

  • MongoDB-inspired operators with cleaner syntax
  • Works across database, auth, files, AI, and vector search
  • Powerful expressions and transformations
  • One endpoint for all operations

Learn BaseQL →


Quick Start

1. Create a Project

Sign up and create a project to get your credentials:

  • API Endpoint - Your unique project URL
  • API Key - Required for all requests

2. Make Your First Request

All operations use BaseQL with the same endpoint:

javascript
const response = await fetch('https://cloud.singlebaseapis.com/api/<ENDPOINT_KEY>', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-API-KEY': 'your_api_key',
    'Authorization': 'Bearer your_jwt_token'
  },
  body: JSON.stringify({
    op: 'db.find',
    collection: 'products',
    filter: { 'status': 'active' },
    limit: 10
  })
});

const data = await response.json();

3. Explore the APIs

Document Database - Store and query data

json
{
  "op": "db.insert",
  "collection": "users",
  "data": { "name": "John", "email": "john@example.com" }
}

Authentication - Sign up and sign in users

json
{
  "op": "auth.signup",
  "email": "user@example.com",
  "password": "securePass123",
  "display_name": "Jane Doe"
}

File Storage - Upload files

json
{
  "op": "file.presign_upload",
  "filename": "avatar.jpg",
  "content_type": "image/jpeg",
  "public_read": true
}

Vector Database - Semantic search

json
{
  "op": "vdb.search",
  "query": "machine learning tutorials",
  "collection": "knowledge_base"
}

BaseAI - Generate content

json
{
  "op": "baseai.create",
  "input": "Write a product description for wireless headphones",
  "content_length": 200
}

Core APIs

Document Database

NoSQL document storage with powerful querying and filtering.

Features: Real-time CRUD operations, advanced filtering, pagination, sorting, lookups

Use cases: User profiles, product catalogs, orders, content management

View Documentation →

Authentication

Complete user management with email/password and passwordless sign-in.

Features: Sign up/sign in, JWT tokens, profile management, password policies

Use cases: User registration, login, access control, session management

View Documentation →

File Storage

Secure file uploads with automatic image processing and optimization.

Features: Presigned uploads, image variants, public/private access, metadata

Use cases: Profile photos, documents, media galleries, file sharing

View Documentation →

Vector Database

AI-powered semantic search with automatic embeddings.

Features: Semantic search, similarity matching, auto-chunking, multi-language

Use cases: Knowledge bases, recommendations, chatbots, content discovery

View Documentation →

BaseAI

Intelligent text processing, generation, and analysis.

Features: Content generation, sentiment analysis, categorization, translation, entity extraction

Use cases: Chatbots, content creation, support automation, document analysis

View Documentation →


How It Works

Single API Endpoint:

POST https://cloud.singlebaseapis.com/api/<ENDPOINT_KEY>

All operations use BaseQL with the same URL:

  • db.* - Database operations
  • auth.* - Authentication
  • file.* - File storage
  • vdb.* - Vector search
  • baseai.* - AI processing

Consistent Request Format (BaseQL):

json
{
  "op": "operation_name",
  "param1": "value1",
  "param2": "value2"
}

Consistent Response Format:

json
{
  "data": {
    // Operation result
  },
  "meta": {
    // Optional metadata
  }
}

Architecture Examples

Frontend Apps (React, Vue, Angular):

Web/Mobile App → Singlebase APIs (BaseQL)

Server Applications (Node.js, Python):

Backend Server → Singlebase APIs (BaseQL) → Your Frontend

Microservices:

Auth Service → auth.* (BaseQL)
Data Service → db.* (BaseQL)
AI Service → baseai.*, vdb.* (BaseQL)

Production Features

  • 99.9% Uptime - Reliable infrastructure
  • Auto-scaling - Handle traffic spikes automatically
  • Global CDN - Fast worldwide delivery
  • Data Encryption - Secure at rest and in transit
  • Real-time Monitoring - Track performance and errors
  • Automated Backups - Point-in-time recovery

Next Steps

Get Started:

  1. Create a free account
  2. Follow the Getting Started Guide
  3. Learn BaseQL

Core Documentation:

Additional Resources:


Ready to build? Start now →