Context

Base was a response to Deta abruptly shutting down their Cloud product, which included an easy-to-use NoSQL database. We reverse-engineered their API and released Base as a drop-in replacement for thousands of stranded developers.
Base is no longer accepting new users, but we will continue to support it for existing users.

Getting Started

1

Install the SDK

Use npm to install the Base SDK:
npm install @contiguity/base
2

Initialize the Client

After installation, import Base into your project and initialize it with your API key and project ID.
// Using CommonJS
const contiguity = require('@contiguity/base')
const db = contiguity.db("your-api-key", "your-project-id")

// Using ES Modules
import contiguity from '@contiguity/base'
const db = contiguity.db("your-api-key", "your-project-id")
You can get an API key from the Console. You can get the project ID when you create a new project, or when you click on the project in the Console.