🚀 Test API Server Dashboard

Dynamic API testing server for frontend developers - No authentication required

📖 How It Works - Super Simple!

1️⃣ Collections Auto-Create

No "Create Collection" button needed! Simply go to the "➕ Create Data" tab, enter a collection name (like "posts" or "users"), add your JSON data, and click Create. The collection is created automatically!

2️⃣ Use Templates or Custom JSON

Choose from 5 ready-made templates (Blog Post, User, Product, Task, Comment) or write your own JSON structure. Any valid JSON works!

3️⃣ Access Your API Instantly

Once created, your collection appears in the Dashboard tab. Use the endpoints to GET, POST, PUT, PATCH, or DELETE your data from your frontend app!

4️⃣ Advanced Queries Available

Filter, sort, paginate, and search: ?_limit=10, ?_sort=-createdAt, ?status=active, ?price_gte=100

📚 Collections

📦

No collections yet!

Collections are created automatically when you add your first document.

Quick Actions

0
Collections
Flexibility

Create New Document (Auto-Creates Collection)

💡 How to create a collection: Enter a collection name below (e.g., "posts", "users", "products"). When you submit, the collection will be created automatically if it doesn't exist!
💡 Type any name - if it doesn't exist, it will be created automatically!
Enter valid JSON - any structure is accepted

📝 Quick Start Templates

🚀 Click any template to auto-fill the form and create your first collection:

📡 Available API Endpoints

Base URL:

  • GET /collections List all collections
  • GET /:collection Get all documents
  • GET /:collection/:id Get single document
  • POST /:collection Create document
  • PUT /:collection/:id Replace document
  • PATCH /:collection/:id Update document
  • DELETE /:collection/:id Delete document
  • DELETE /:collection Delete all documents

Query Parameters

?_limit=10 // Limit results (max 1000)
?_skip=20 // Skip results (pagination)
?_sort=name // Sort ascending
?_sort=-createdAt // Sort descending
?_search=keyword // Full-text search
?field=value // Exact match filter
?field_gte=100 // Greater than or equal
?field_lte=500 // Less than or equal
?field_ne=draft // Not equal

💡 cURL Examples

Create a Post:

curl -X POST /posts \
  -H "Content-Type: application/json" \
  -d '{"title":"Hello","content":"World"}'

Get All Posts:

curl /posts

Filter & Sort:

curl "/posts?status=published&_sort=-createdAt&_limit=10"

Update Post:

curl -X PATCH /posts/ID \
  -H "Content-Type: application/json" \
  -d '{"title":"Updated Title"}'

🔧 JavaScript/Fetch Examples

Create Document:

const response = await fetch('/posts', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    title: 'My Post',
    content: 'Hello World'
  })
});
const data = await response.json();

Get All Documents:

const response = await fetch('/posts');
const data = await response.json();
console.log(data.data); // Array of posts

Search & Filter:

const response = await fetch(
  '/posts?_search=javascript&_limit=5'
);
const data = await response.json();