Quick Start
What is ForgeDB?
ForgeDB is a serverless Database-as-a-Service with built-in time travel and full audit trails. Every write is tracked and versioned, which means you can roll back to any previous state with zero configuration.
You interact with ForgeDB through a REST API using API keys. There are no drivers to install, no connection strings to manage, and no servers to run. You send an HTTP request, data is stored.
Create a project
After signing up, head to the dashboard and click New Project. Give it a name — this becomes your projectId in every API call.
Every project automatically gets two databases: prod and test. They are completely isolated — separate data, separate keys, separate history. The test database auto-wipes every 30 days.
Get your API key
In your project, go to API Keys and create a key. Choose between:
| Type | Prefix | Permissions |
|---|---|---|
| Production read-only | fk_live_... | SELECT only |
| Production read-write | sk_live_... | SELECT + INSERT + UPDATE + DELETE |
| Test read-only | fk_test_... | SELECT only (test db) |
| Test read-write | sk_test_... | Full access (test db) |
Your first query
Each project gets its own subdomain. Data requests go to PROJECT_ID.forgedb.name.ng.
Insert your first row:
The response includes the full row with an auto-assigned id: