Firebase-style Auth & Realtime Database
that runs on any PHP hosting
Add user login, a JSON document database, security rules, live updates and file storage to your app in minutes β with one script tag. No servers, no billing surprises, local support.
<!-- 1. include the SDK --> <script src="https://clickbase.thepakclicktes.com/sdk/clickbase.js"></script> // 2. init with your project keys const app = ClickBase.init({ projectId: "my-shop", apiKey: "cb_pk_β¦" }); // 3. auth + database + realtime await app.auth.signUp("ali@example.com", "secret123"); await app.db.collection("orders").add({ item: "Biryani", qty: 2 }); app.db.collection("orders").where("qty", ">", 1).onSnapshot(docs => render(docs));
Everything a small app backend needs
Familiar Firebase-like API, but simple, affordable and hosted in a place you can call.
Authentication
Email + password signup/login, email verification, password reset, JWT access tokens with refresh, custom claims, Google sign-in.
Document Database
Schema-less JSON collections with auto IDs, timestamps, owner tracking, atomic increments and batch writes.
Rich Queries
where / orderBy / limit / pagination with ==, !=, >, <, in, contains, startsWith β from JS or plain REST.
Realtime updates
onSnapshot() streams changes over Server-Sent Events (auto-reconnect, polling fallback). Works on shared hosting.
Security Rules
Per-collection read/write rules: public, auth, verified, owner, admin. Edit in the console, applied instantly.
File Storage
Upload images & files with one call, get public URLs, per-plan size limits.
Developer Console
Browse & edit data, manage users, view usage graphs, logs, keys and CORS origins.
REST API
Every feature over clean JSON REST β use it from PHP, Flutter, Android, Python or anything with HTTP.
Server secret key
Admin key for trusted servers: manage users, mint tokens, bypass rules, verify JWTs.
Why ClickBase instead of Firebase?
Firebase is great β until you need local payments, predictable pricing or a human to talk to.
| ClickBase | Firebase | |
|---|---|---|
| Pay in PKR (JazzCash / EasyPaisa / bank) | β | β card only |
| Predictable flat plans | β | Usage billing |
| Runs on plain PHP hosting / self-host option | β | β |
| Familiar auth + db + realtime API | β | β |
| Support in Urdu / WhatsApp | β | β |
| Global multi-region scale | Smallβmedium apps | β planet scale |
Simple pricing
Start free. Upgrade when your app grows.
Pro
- 25K auth users / project
- 250K documents
- 1024 MB storage
- 1M reads / day
- 10 projects
Business
- 200K auth users / project
- 2M documents
- 10240 MB storage
- 10M reads / day
- 50 projects
Full comparison on the pricing page.
Ship your next app this weekend
Create a project, copy two keys, and you have auth + database + realtime.
Create free account Documentation