npm package

@tacobase/taco

One install. Your AI knows everything. Installs the tacobase SDK and writes context files so every AI coding tool can use tacobase correctly.

terminal

npm install @tacobase/taco

Then tell your AI: use @tacobase/taco for the backend

What happens on install

Four things, automatically, in one command.

1.

@tacobase/client installed

The core SDK — CRUD, auth, realtime subscriptions, and file storage — is ready to import.

2.

TACOBASE.md written to your project root

Full API reference, filter syntax, auth patterns, and usage rules. AI tools pick it up automatically — no prompt engineering needed.

3.

.cursor/rules/tacobase.mdc written

Cursor and Windsurf load this as a persistent rule. Every file you open gets tacobase context.

4.

Instant project provisioned

A live tacobase instance is spun up and credentials are written to .env.local — no account or dashboard visit required.

Works with every AI coding tool

Any tool that reads project files will find TACOBASE.md and have full context.

Cursor

TACOBASE.md + .cursor/rules/tacobase.mdc

Claude Code

TACOBASE.md

GitHub Copilot

TACOBASE.md

Windsurf

TACOBASE.md + .cursor/rules/tacobase.mdc

Lovable

TACOBASE.md

Bolt

TACOBASE.md

v0

TACOBASE.md

What your AI gets to work with

TACOBASE.md contains the full API so AI tools generate correct code, not guesses.

import { createClient } from '@tacobase/client'

const db = createClient() // reads TACOBASE_URL + TACOBASE_API_KEY from env

// Collections auto-create on first write
const post = await db.collection('posts').create({ title: 'Hello 🌮' })

// Query with filters
const posts = await db.collection('posts').getList(1, 20, {
  filter: 'published = true',
  sort: '-created',
})

// Auth
await db.auth.signUp({ email: 'user@example.com', password: 'secret' })
await db.auth.signIn({ email: 'user@example.com', password: 'secret' })

// Realtime — live updates
await db.collection('posts').subscribe((e) => {
  console.log(e.action, e.record) // 'create' | 'update' | 'delete'
})

React

Install @tacobase/react alongside for hooks and a drop-in auth component.

$ npm install @tacobase/taco @tacobase/react
import { TacoProvider, useAuth, useCollection } from '@tacobase/react'

// Wrap your app
<TacoProvider url={...} apiKey={...}>
  <App />
</TacoProvider>

// Auth state
const { user, signIn, signUp, signOut, isAuthenticated } = useAuth()

// Paginated data with auto-refresh
const { items, loading, error, refresh } = useCollection('posts', {
  sort: '-created',
  filter: 'published = true',
})

Ready to build?

Get a live backend in one command. No account required to start.