# Fenaura > Fenaura is a backend platform: edge functions that run in V8 isolates, > a Postgres database per project, end-user authentication with twelve OAuth > providers, and file storage. Edge routes are private by default, so every > request is checked for a signed-in end user before application code runs. Every page below is available as HTML at the URL given, and the complete text of all pages is in https://docs.fenaura.dev/llms-full.txt. ## Getting started - [Introduction](https://docs.fenaura.dev/): Fenaura is a backend you talk to. Edge functions, a Postgres database, end-user authentication and file storage, all wired together in one project. - [How Fenaura works](https://docs.fenaura.dev/how-it-works): The four pieces of a Fenaura project, edge functions, database, auth and storage, and how a request travels through them. - [Environments](https://docs.fenaura.dev/environments): Every project has a development and a production environment. One switch changes your database, storage, Redis, Secrets (Platform secrets & Environment variables) and auth users all at once. - [Quickstart](https://docs.fenaura.dev/quickstart): Create a project, install the SDK, wire the auth proxy, and run your first signed-in database query in about ten minutes. - [Your first Fleet & Development testing](https://docs.fenaura.dev/first-fleet-and-dev-testing): Write and deploy your first Fleet edge function in main.ts, call it over HTTP from your frontend, and isolate testing in the Development environment. - [HTTP fetch & your own backend](https://docs.fenaura.dev/http-and-backends): Choose the right architecture: use fenaura-sdk or plain HTTP fetch on the client, proxy Fenaura Auth through your own backend, or connect directly to Postgres TLS and Redis TLS. - [Backend auth implementation](https://docs.fenaura.dev/backend-auth-implementation): Copy-paste Express/Node routes that use Fenaura for auth only, signup, verification codes, login, first-party HttpOnly cookies, whoami validation and user caching. - [Coming from Supabase](https://docs.fenaura.dev/coming-from-supabase): A mapping table from Supabase concepts and calls to their Fenaura equivalents, and the three things that behave differently. ## Veilo - [Veilo](https://docs.fenaura.dev/veilo): Veilo is Fenaura's built-in AI engineer. It reads your project, writes and deploys edge functions, edits the schema, runs the API tester, and verifies its own work. - [Using Veilo](https://docs.fenaura.dev/veilo/using): How to ask Veilo for work so it gets done in one pass, clear outcomes, real constraints, and what to do when it gets something wrong. - [Approvals](https://docs.fenaura.dev/veilo/approvals): Which Veilo actions stop for approval, why the line is drawn there, and what an approval card means. - [The API tester](https://docs.fenaura.dev/kora): Kora is the built-in HTTP client, collections, folders, environments, request editing with section diffs, and a workspace Veilo can drive for you. - [The Fenaura Fleet IDE](https://docs.fenaura.dev/ide): A file tree, editor, terminal, source control, problems panel and version timeline for your edge function, in the browser, with no local setup. ## Fleets - [Fleets](https://docs.fenaura.dev/fleets): Fleets are Fenaura's edge functions, the server code for your project. One URL runs everything, and the development and production environments share that code with different data. - [Routing](https://docs.fenaura.dev/fleets/routing): Route however you like, plain JavaScript if statements, controllers in folders like Express, or Hono. main.ts is always your entry file. - [The context object](https://docs.fenaura.dev/fleets/context): Complete reference for every property and method on ctx, req, Hono c, status codes, responses, headers, cookies, database, Redis, Realtime, storage, email, images, logging, env vars, and npm packages. - [Environments](https://docs.fenaura.dev/fleets/environments): Development and production run the same code against different data. Default URLs, the private dev key, and what happens to a development URL after you deploy. - [The database](https://docs.fenaura.dev/fleets/database): Every Fleet gets a Postgres database, a Drizzle client and a raw SQL escape hatch, isolated per environment and available with no connection string. - [The IDE](https://docs.fenaura.dev/fleets/ide): The editor around a Fleet, files and folders, a command terminal, compile checks, source control, versions and trash, all in the browser. - [Testing](https://docs.fenaura.dev/fleets/testing): Call your Fleet while building, the private dev key, curl and fetch, and how Kora and Veilo remove the need for a separate testing tool. ## Authentication - [Authentication overview](https://docs.fenaura.dev/auth): End users belong to your project. The SDK signs them in, a proxy sets the session cookie on your own domain, and every edge request is checked before your code runs. - [Methods](https://docs.fenaura.dev/auth/methods): Every authentication call in fenaura-sdk, starting with the full sign-up flow: the default one-step signup, the email verification switch, the code, and the session cookie. - [OAuth providers](https://docs.fenaura.dev/auth/oauth): The twelve OAuth providers Fenaura supports, how the callback exchange works, and the setup each provider needs. - [Sessions and cookies](https://docs.fenaura.dev/auth/sessions): How Fenaura stores a session, the three ways a request can carry it, and why conflicting cookies fail closed. - [End-user management](https://docs.fenaura.dev/auth/end-users): List, inspect, revoke, block, approve, restore and delete the end users of a project from the dashboard or the management API. - [Troubleshooting authentication](https://docs.fenaura.dev/auth/troubleshooting): What each authentication error means and the fix for it, session conflicts, unverified users, OAuth callbacks and proxy mistakes. - [Allowed origins](https://docs.fenaura.dev/auth/origins): Who is allowed to call your project's auth and data endpoints, what the empty allowlist default means, and how to lock your project down before real users arrive. ## Database - [Database overview](https://docs.fenaura.dev/database): Every Fenaura project gets its own whole Postgres database, not a schema in a shared one. Reach it from the browser with the SDK, or from a Fleet with ctx.db and ctx.sql. - [Querying](https://docs.fenaura.dev/database/querying): The Fenaura query builder, select, insert, update, delete, upsert, counting and pagination, and when a chain runs. - [Filtering](https://docs.fenaura.dev/database/filtering): Every filter operator in the Fenaura query builder, with a runnable example each, plus combining, negating and searching text. - [Drizzle in the edge](https://docs.fenaura.dev/database/drizzle): Inside an edge function the database is available as ctx.db (Drizzle) and ctx.sql (raw), already connected and already scoped to the project. - [Migrations & schema changes](https://docs.fenaura.dev/database/migrations): How schema changes work in Fenaura: isolated Development and Production databases, live structural diffs, safe transactional promotion, and how column drops are gated. - [What Row Level Security protects](https://docs.fenaura.dev/database/rls): How Fenaura decides which rows a request may see, why Row Level Security is mandatory, and what "can one user read another user's data" really means here. - [Security and RLS](https://docs.fenaura.dev/database/security): Row-level security, policy templates in the Table Editor, sensitive columns, and server vs Data API boundaries. - [SQL editor](https://docs.fenaura.dev/database/sql-editor): Run SQL against your project's database with tabs, history, snippets, per-statement results, schema-aware autocomplete and automatic pagination. - [External Postgres & Redis](https://docs.fenaura.dev/database/external-connections): Connect any backend language, driver, ORM (pg, Drizzle, Prisma, psycopg, pgx, ioredis, redis-py), or migration tool directly to your Fenaura Postgres database and Redis over TLS using Platform secrets. - [Postgres functions](https://docs.fenaura.dev/database/functions): Write a Postgres function in the SQL editor, call it with fenaura.rpc(), and what the platform refuses to run. - [Promotion, worked example](https://docs.fenaura.dev/database/promotion): A full walkthrough of moving a schema change from development to production: what promotion copies, what it refuses to touch, and how a dropped column is handled safely. ## Realtime - [Realtime](https://docs.fenaura.dev/realtime): Build encrypted 1-on-1 DMs, private group chats, live typing indicators, online presence, and live database updates in minutes. ## Edge functions - [Edge functions](https://docs.fenaura.dev/edge): JavaScript that runs in a V8 isolate, private by default. Every route checks for a signed-in end user before your code runs. - [Your first function](https://docs.fenaura.dev/edge/first-function): Write, deploy and call your first edge function in main.ts, one small step at a time: return a response, read the request, read the signed-in user, and query the database. - [The context object](https://docs.fenaura.dev/edge/context): Every field on FenauraContext, the project, the signed-in user, environment variables, the database, raw SQL and Redis. - [Routing](https://docs.fenaura.dev/edge/routing): How base URLs and subpaths reach main.ts, how to route in plain JS or Hono, how to organize folders and controllers like Express, and how npm packages work. - [Environments](https://docs.fenaura.dev/edge/environments): Development and production are separate deployments with separate data, keys and URLs. How to promote code without mixing data. - [Public routes](https://docs.fenaura.dev/edge/public-routes): How to serve unauthenticated traffic deliberately, and the three consequences of doing it. - [Rate limits](https://docs.fenaura.dev/edge/rate-limits): The exact request limits applied to edge functions, per project, per end user and per environment, with the error you get when you cross them. - [Errors](https://docs.fenaura.dev/edge/errors): Every error code the edge runtime returns, what causes it, and the fix, throttling, session conflicts, missing functions and isolate failures. ## Storage - [Storage](https://docs.fenaura.dev/storage): Buckets, chunked uploads with progress and retry, compression on the way in, and three ways to read a file back. - [Uploading](https://docs.fenaura.dev/storage/uploading): How chunked uploads, per-chunk retry, progress events and compression work, and how to handle a failure without losing the file. - [Access control](https://docs.fenaura.dev/storage/access): Session-gated, public and signed URLs, what each one actually proves, and how to pick the right one. - [Managing files](https://docs.fenaura.dev/storage/managing): Listing with prefixes, paginating a large bucket, downloading and deleting files, and keeping paths organised. ## Email - [Email](https://docs.fenaura.dev/email): Transactional and broadcast email from a Fenaura project, templates, sending, and the deliverability setup that makes messages arrive. - [Templates](https://docs.fenaura.dev/email/templates): The email templates a project ships with, the variables each one can use, and how to edit one without breaking the flow it belongs to. - [Deliverability](https://docs.fenaura.dev/email/deliverability): SPF, DKIM and DMARC explained as what they actually do, plus the sending habits that decide whether your mail reaches an inbox. ## SDK reference - [Installation](https://docs.fenaura.dev/sdk): Install the SDK and the auth proxy with two commands, see exactly what each one does and what files appear in your project. - [createClient](https://docs.fenaura.dev/sdk/create-client): createClient takes two arguments, a proxy path and your Project ID. What it returns, and why the Project ID is safe to ship. - [Pure fetch & mobile API](https://docs.fenaura.dev/sdk/fetch): Every fenaura-sdk call expressed as plain HTTP fetch requests so any language, framework, mobile app (Kotlin, Flutter, Swift), or custom backend can talk to Fenaura without an SDK. ## Platform - [Projects and organisations](https://docs.fenaura.dev/platform/projects): How tenants, projects and environments are arranged, and which one you create when. - [Project keys](https://docs.fenaura.dev/platform/keys): The credentials a project has, the Project ID, the Project Secret Key and the fleet URL, where each one lives in the dashboard, and what each one grants. - [Quotas](https://docs.fenaura.dev/platform/quotas): Everything included in the Fenaura free plan, what is enforced at the database level, and our openly self-snitching guide to running multiple side projects cleanly inside one project. - [Your Project ID is public](https://docs.fenaura.dev/platform/project-id): The Project ID ships in your frontend bundle, grants nothing by itself, and one caveat worth knowing: strangers can sign up. Allowed origins is the control. - [API Responses & Status Codes](https://docs.fenaura.dev/platform/responses-and-status-codes): Complete code-verified reference of every HTTP status code, success envelope, and error payload returned by Fenaura across Auth, Fleets, Data API, Storage, Realtime, and fenaura-sdk. - [Direct API URLs Reference](https://docs.fenaura.dev/platform/direct-urls): Every code-verified direct Fenaura URL (HTTP and WebSocket) for non-browser clients, custom backends, mobile apps, CLIs, and webhooks. - [Logs](https://docs.fenaura.dev/platform/logs): Inspect HTTP request logs and structured Fleet function logs (ctx.log and console) in real time, filtered by environment, level, status, and function. ## Guides - [Build a waitlist](https://docs.fenaura.dev/guides/waitlist): A waitlist with duplicate protection, a position number and an authenticated admin view, built with a public route, one table and the SDK. - [Build an auth-gated API](https://docs.fenaura.dev/guides/auth-gated-api): An API where every endpoint requires a session and every query is scoped to the caller, using RLS plus the default private routing. - [Build a file uploader](https://docs.fenaura.dev/guides/file-uploader): An avatar uploader with progress, compression, ownership rules and a signed URL for sharing, end to end. - [Ship a paid API](https://docs.fenaura.dev/guides/paid-api): An API where customers authenticate with their own keys, usage is metered, and billing follows, built with one public route and Redis counters.