curl and JavaScript.
What you'll build
Before you start
You need a Bludia account and an HTTP client such ascurl, Postman, or a JavaScript runtime. You don’t need to install a database or a backend framework.
Build the backend
1
Create a project
In the Bludia dashboard, select Create Project and name it Task Manager. Open the project when it’s ready.
2
Create the tasks collection
Go to Collections → Create Collection and name it
tasks. The collection’s slug (tasks) is the name you use in API URLs.3
Add fields
Add these fields to
tasks:Every record also gets system fields automatically:
id, slug, created_at, updated_at, and published_at.4
Add a record in the dashboard
Open the collection’s Records view, select Add record, and fill in:
5
Create an API key
Go to API → API Keys → Create key:
- Name:
Quickstart - Auth type:
platform(server-side key with full project access, good for this test) - Environment:
development
bludia_development_ab12cd_… and is shown only once.6
List your records
Find your API base URL in the collection’s API Endpoints panel. It ends in Response:
/ext/api/v1. Then run:7
Create a record over the API
Send field names as JSON keys:Bludia validates the body against your fields and returns
201 Created with the new record in data.8
Filter, update, and delete
You now have a working backend with a validated data model and a REST API.
Call it from JavaScript
Run this on a server (Node.js, a Next.js route handler, or a serverless function), where the key stays secret:end_users key with signed-in users instead. See Frontend integration.
Next steps
Add user login
Let people register and log in, then call the API as themselves.
Lock down access
Give roles per-collection permissions and limit rows per user.
Add business logic
Validate and react to changes with hooks.
Build a CRM
Follow a complete, multi-collection example.
