powered by

Quick Start

From zero to a live backend with working API endpoints in under five minutes.

Before you start

You need an Anythink account. Sign up free at my.anythink.cloud — no credit card required to get started.


Step 1 — Create a project

Log in to my.anythink.cloud. Click Create New Project, give it a name, and select a plan. Your backend spins up in under 30 seconds.

Once created you will see two important URLs in your project dashboard:

  • API URL — the base URL for all API calls (e.g. https://api.my.anythink.cloud/org/12345/)
  • Dashboard URL — your Anythink admin dashboard

Step 2 — Design your first entity

Click Dashboard URL to open your project. Go to Settings → Data Model and click + New Entity.

Name it tasks and save. You now have a database table and a live REST API — before adding a single field.

Add a couple of fields:

Field Type Options
title varchar Required
done boolean Default: false
notes text —

Save after each field.


Step 3 — Test your API

From your project dashboard, click API Documentation. This opens your live, auto-generated API docs.

Find POST /entities/tasks/items and click Try it. Create a task:

json
{
  "title": "My first task",
  "done": false
}

You should get a 201 Created response. Then hit GET /entities/tasks/items — your task is there.


Step 4 — Call the API from your app

Copy your API URL from the project dashboard. Here's a minimal example using fetch:

javascript
const baseUrl = 'https://api.my.anythink.cloud/org/{orgId}';
const token = 'YOUR_JWT_OR_API_KEY';

// List tasks
const res = await fetch(`${baseUrl}/entities/tasks/items`, {
  headers: { 'Authorization': `Bearer ${token}` }
});
const { items } = await res.json();

// Create a task
await fetch(`${baseUrl}/entities/tasks/items`, {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ title: 'New task', done: false })
});

Your orgId is shown in your dashboard URL and project settings.


Step 5 — Add authentication (optional)

To let real users sign up and log in to your app, go to Settings → Organisation and enable Allow Registrations. Set a default role for new users.

Your app can then call the auth endpoint:

http
POST /auth/v1/token
{ "email": "user@example.com", "password": "..." }

The response includes a JWT the user includes in subsequent requests.


What's next

My First Project tutorial