npm i @basictech/react

Open source infra for
data ownership 🏆

Ship powerful apps with built-in auth, realtime, and multi-device offline support on Basic's user-owned Personal Data Stores

import { useBasic } from '@basictech/react';

function App() {
  const { db } = useBasic();
  
  db.collection('todos').add({
    title: 'My first todo',
    completed: false,
  });
}

Basic Auth

Plug-and-play OAuth2 authentication with enterprise-grade user management and permissions

Basic DB

Build privacy-first apps with user-owned data stores. Minimum backend infrastructure and data hosting required

Basic Sync

Real-time multiplayer sync with automatic conflict resolution and offline support across devices

A new ✨ way to build

We're web enthusiasts frustrated with walled gardens 🥀 lack of interoperability 🔗 and the security risks 🚨 of apps today

We envisioned an internet with portable personal data 📊 that automatically syncs across devices ☁️ and shares securely. Where developers could easily build collaborative and offline-capable apps 👏🏽 without worrying about data privacy 🔐

We dreamt of a frictionless, user-owned web 🌐

So we built Basic.

That's basic-ally better for developers 📱

Local-first sync engine 💭

Using Basic SDKs unlocks local-first architecture, where your app will use your users' local storage for primary read / writes. This eliminates the need for loading screens and spinners, makes your app infinitely snappier, and enables offline work.

In the background, our sync engine keeps all users and their devices caught up with the latest data so that they can collaborate in real-time.

Local-first

Declarative schema-as-code 📝

We've designed schemas in Basic to be declarative code in a config file that is stored in your app's repository. Schemas can be versioned and tracked in Git for full history and better governance of your schema.

Schema-as-code makes it easy to manage your data model and test / evolve it over time. Your backend and frontends can always be in sync within deployment environments, and across users and their devices.

export const schema = {
    version: 6,
    project_id: "xyz",
    tables: {
        feedback_table: { "fields": {} },
        items_table: { "fields": {} },
        comments_table: { "fields": {} }
    }
}

Build enterprise-ready apps 🏦

In Basic's data storage model, sensitive data like medical records, SSNs, and payment information never touches your servers. Data is always owned and controlled by your users and your apps can meet the highest standards for data protection and governance like HIPAA, SOC 2, PII, and CCPA.

You can also easily enable features like role-based access control, SSO, and more.

Enterprise-ready

Open source and transparent ✍🏽

We believe in building for an open and accessible internet, and we've made Basic's core infrastructure open source so that you can build on it too. All our code is available on Github.

The Basic protocol will always be open source for anyone's use, and we'll continue to support and build it as a community project. It can be self-hosted or used via our commercial offering.

🔍 Secured by Basic 🔍

Basic creates personal data stores that give users full control of their data. Apps request access via OAuth2, ensuring data privacy with enterprise-grade security.

📖 Read the Docs
Basic apps diagram

And better for your users 👯

💖 User-owned internet

You own your data. You control who can access it. You can take it with you wherever you go.

🧑🏼‍💻 Interoperability

Imagine your health data, social graph, and more, all usable across any app you want.

∞ Use apps forever

Cloud apps cease to exist when they go out of business. With Basic, you will always own an instance of your apps forever.
👤
Explore Basic ID

With simple pricing that scales

Free

$0/month

For indie developers to try out Basic

Everything you need to get started

  • 1 member per project
  • Unlimited projects
  • Unlimited users
  • Local-first sync
  • Schema-as-code
  • Project-level privacy & permissions
Request early access

Custom

Contact for pricing

For teams and enterprises

Free tier features and more

  • Unlimited members
  • Advanced user analytics
  • AI vector embeddings
  • Federated learning
  • Enterprise Data Stores
  • HIPAA & SOC 2 compliance checks
  • Uptime SLAs
  • SAML SSO
  • Dedicated engineering support
Contact us