Platform Internals

How EazeMyAPI
works under the hood.

A transparent look at the request flow, security model, JWT authentication, and how the platform scales with your product — from first API call to millions of requests.

Platform Overview

EazeMyAPI sits between your frontend and your data, handling everything in between automatically.

Schema-Driven Generation

You define your data model. EazeMyAPI's engine parses your schema and generates a full REST API with CRUD endpoints, relational joins, filters, and pagination — automatically.

Dedicated API Gateway

Every project gets its own API gateway endpoint. All requests pass through authentication, rate limiting, and request validation before touching your data layer.

Isolated Database Per Project

Each project gets its own isolated relational database. No shared tables, no cross-tenant data leakage. Your data is logically and physically separated from other projects.

Built-In Auth Layer

Authentication is a first-class platform feature, not an afterthought. JWT issuance, token verification, and API key management are handled at the gateway level.

Auto-Scaling Infrastructure

The platform monitors request volume and scales compute resources automatically. No manual server provisioning, no capacity planning, no cold-start delays.

Real-Time Observability

Every request is logged. View response times, error rates, and endpoint usage from your dashboard. Identify slow queries and errors without setting up external monitoring.

Request Flow

From your client to your database and back — every step is handled by the platform.

Your Client
Browser / Mobile / AI Agent
Auth & Rate Limit
API Gateway Layer
Query Engine
Request Resolver
Your Database
Isolated Relational DB
JSON Response
Formatted Output
1

Client Request

Your frontend, mobile app, or AI agent sends an HTTP request to your EazeMyAPI endpoint. Requests include your API key or a Bearer JWT token in the Authorization header.

2

Gateway: Auth + Rate Limiting

The API gateway validates your credential — API key or JWT — before the request proceeds. Invalid or expired credentials are rejected with a 401 at this layer. Rate limits are enforced here too.

3

Query Engine

The request is parsed, validated against your schema, and translated into an optimized database query. Filters, ordering, pagination, and relational lookups are resolved here.

4

Database Execution

The query runs against your project's isolated database. EazeMyAPI uses connection pooling and query optimization to minimize latency. Only your project's data is accessible.

5

Response Formatting

Results are serialized to JSON, including pagination metadata, relational data, and computed fields. The structured response is returned to your client with appropriate HTTP status codes.

6

Logging & Metrics

Every request is recorded — latency, status code, endpoint, and user identity. This data powers your dashboard analytics and is available for audit and debugging.

JWT Authentication Flow

Secure, stateless authentication built into every project — no extra setup required.

Step 1 — User Registration or Login

Your user calls /auth/register or /auth/login. EazeMyAPI validates credentials, hashes passwords with bcrypt, and stores the user record in your project's database.

Step 2 — Token Issuance

On successful authentication, the platform issues a signed JWT containing the user ID, project ID, and expiry. The token is signed with a project-specific secret that never leaves the platform.

Step 3 — Authenticated Requests

Your client includes the JWT as a Bearer token in the Authorization header. The API gateway verifies the signature and expiry on every request — no database lookup required, making verification fast.

Step 4 — Row-Level Authorization

When you mark fields as user-scoped, the query engine automatically appends a WHERE user_id = :current_user condition. Users can only read and write their own records without any custom code.

Step 5 — Token Refresh

Access tokens are short-lived. The platform issues a refresh token alongside the access token. Your client exchanges the refresh token for a new access token silently, keeping sessions alive without re-authentication.

Step 6 — API Key Auth (Server-to-Server)

For server-side integrations, AI agents, or automation, use API key authentication instead of JWT. Keys are scoped per project, can be rotated from the dashboard, and are validated at the gateway layer.

Security Model

Security is enforced at every layer of the stack, not just at the edge.

Layer Mechanism Status
Transport All requests are served over HTTPS/TLS 1.2+. Plain HTTP connections are automatically redirected. Enforced
Authentication API key or JWT required on every request (except public endpoints you explicitly mark as open). Enforced
Authorization Row-level ownership rules prevent users from accessing other users' data without custom policy overrides. Enforced
Password Storage Passwords are hashed with bcrypt (cost factor 12). Plain-text passwords are never stored or logged. Enforced
Data Isolation Each project's database is logically isolated. Cross-project queries are architecturally impossible. Enforced
Input Validation All incoming request bodies are validated against your schema before reaching the database. SQL injection is prevented at the query layer with parameterized queries. Enforced
Rate Limiting Per-project and per-key rate limits prevent abuse and protect your data from being scraped or hammered. Enforced
Secrets Management JWT signing secrets and database credentials are stored in an encrypted secrets vault, never in environment variables or application code. Enforced

Scalability Notes

How the platform handles growth — from zero to millions of requests.

Horizontal Auto-Scaling

API gateway instances scale out horizontally based on request volume. Traffic spikes are absorbed without manual intervention or pre-warming.

Connection Pooling

Database connections are pooled and reused across requests. This reduces latency and prevents connection exhaustion under high concurrency.

Query Optimization

The query engine automatically adds indexes to frequently queried fields and rewrites inefficient queries before they hit the database.

Edge Distribution

API gateway nodes are distributed across regions. Requests are routed to the nearest node, reducing round-trip latency for globally distributed users.

Zero-Downtime Deploys

When you update your schema, the platform applies changes with zero downtime using rolling migrations. Your API stays available throughout any schema update.

Automated Backups

Your database is backed up automatically on a daily schedule. Point-in-time recovery is available on paid plans, letting you restore to any state within the retention window.

Ready to see it in action?

Build your first API in under 2 minutes. No infrastructure knowledge required — the platform handles everything described here for you.

Stay in the loop

Get updates on new features, tutorials, and early access offers. No spam, ever.