# Palbase — Backend SDK > The pages of the Backend SDK section of Palbase's documentation, each with what it covers. Every section: https://palbase.studio/llms.txt - [Overview](https://palbase.studio/docs/backend/overview): palbase/backend — the framework your machine runs: PalbaseFactory, modules, class controllers, and the three things a handler imports — Palbase, Database and Log. - [Modules & Dependency Injection](https://palbase.studio/docs/backend/modules): @Module's four lists, @Injectable providers, injection by constructor type, onStart and onShutdown, and the mistakes refused at boot by name. - [Controllers & Routing](https://palbase.studio/docs/backend/controllers): @Controller classes, the HTTP method decorators, route options (auth, rateLimit, transaction), path parameters, @Resolve — parameters the app makes — and what a handler's return becomes, a Response included. - [Request Validation](https://palbase.studio/docs/backend/validation): @Body, @QueryParams, @Param and @Headers with any Standard Schema — zod, valibot, arktype — and the 400 a failed one answers. - [Authentication](https://palbase.studio/docs/backend/authentication): Secure-by-default routes, @User and @OptionalUser, verified email, test users, and how a caller's token is checked. - [Responses & Errors](https://palbase.studio/docs/backend/errors): What a handler's answer becomes, the error envelope, the built-in error classes and PalError, and what an outage or a crash answers. - [Database](https://palbase.studio/docs/backend/database): Database — the request's own transaction: typed tables, raw SQL with $query, plans with $transaction, $atomic and $asService(). - [Schema](https://palbase.studio/docs/backend/schema): Your Postgres schema in TypeScript with defineSchema, defineTable, column builders, indexes, foreign keys and raw units. - [Row-Level Security](https://palbase.studio/docs/backend/row-level-security): Policies in the schema DSL, auth.uid(), the anon and authenticated roles, and $asService() for what the service does. - [Field Encryption](https://palbase.studio/docs/backend/encryption): text().encrypted(): a column sealed by your app with the project's keys — equality through a lookup, rows encrypted beside the serving release, key rotation, Studio's mask, and palbase/server's fields for any other server. - [Encrypted Requests](https://palbase.studio/docs/backend/request-encryption): encrypted() and encrypt(): a field the app seals before the request leaves the device and opens in the answer — keys and rotation, the errors, machines:call and Try it, and palbase/server's transit for any other server. - [Schema changes](https://palbase.studio/docs/backend/migrations): There are no migration files: a release migrates beside the version that serves — start, rollout, complete — with renamedFrom, fillWith and ignored for the changes that need them. - [Storage](https://palbase.studio/docs/backend/storage): Palbase.storage — buckets, objects, public reads, signed URLs and image renditions, from your backend. - [Direct Uploads](https://palbase.studio/docs/backend/direct-uploads): Files straight to storage: signed upload URLs your backend grants, and @Upload routes — storage asks the route where a file goes, then runs it with the stored object. - [Workspaces](https://palbase.studio/docs/backend/workspaces): Palbase.workspaces — synchronized network-disk workspaces with palbase-agent live file sync, the s3.palbase.studio S3 gateway, BYOS S3 buckets, advisory locks and workspace.* events. - [Secrets](https://palbase.studio/docs/backend/secrets): The project's secrets: the set a machine is started with, and Palbase.secrets for values read while it runs. - [Flags](https://palbase.studio/docs/backend/flags): Palbase.flags — define flags, give single users their own values, and read what a user sees, from your backend. - [Notifications](https://palbase.studio/docs/backend/notifications): Palbase.notify — email, push, SMS and WhatsApp, templates, topics, each user's preferences, when a message goes (their own hour, quiet hours, the marketing cap), audiences, İYS and stop texts. - [Journeys](https://palbase.studio/docs/backend/journeys): Messages, waits, branches and A/B splits a person goes through after what they did: the definition, Studio's flow editor and templates, a try on a test user, publishing, the report and journey.* events. - [Realtime](https://palbase.studio/docs/backend/realtime): Palbase.realtime — broadcast to a channel's subscribers and write its shared state from your backend. - [Gateways](https://palbase.studio/docs/backend/gateways): @Gateway — a realtime channel of the app: who may join, typed events, members' messages and their acks, the channel's moments, durable gateways that keep what they send, and pipes. - [Channels](https://palbase.studio/docs/backend/channels): The realtime module's own channel declaration, for a backend that is not a palbase/backend app: who may join, publish and write state. - [AI](https://palbase.studio/docs/backend/ai): Palbase.ai — one-shot answers, tools that run on your machine, agents defined at each turn, and chats your backend starts, which their members reach through a gateway. - [AI on Your Own Machines](https://palbase.studio/docs/backend/ai-machines): Runner pools of your own Macs and Linux machines: one type each, machines enrolled with palbase-agent and a single-use key, a chat started on a pool, the state your loop scales by, cordon then delete, every session's variables, secrets and setup script, and what Claude Code, Codex or Gemini CLI is given when it runs a chat's turns as the agent. - [AI Variables & Secrets](https://palbase.studio/docs/backend/ai-env): The variables every session of the project's agents has: a secret or not, sealed or open, a sealed value's rules, the hosts a secret may go to and where it is put, who changes where a secret goes, the hosts it was sent to (the owners emailed, allow or dismiss), the agents' allowed hosts, app users and open secrets, and what the proxy beside each machine does. - [Webhooks](https://palbase.studio/docs/backend/webhooks): @Webhook — a third party's deliveries (Stripe, GitHub, Slack, …) at POST /webhooks/, each signature checked before an @On of its event runs. - [Event Hooks](https://palbase.studio/docs/backend/hooks): @On — handle the platform's events (user.deleted, file.uploaded, …) in your backend, each delivery signed and run once. - [Cron](https://palbase.studio/docs/backend/cron): @Cron — a provider the platform runs on a schedule (five fields of cron's, on a time zone's clocks), waking the machine for it; run now, paused and resumed from Studio and the CLI. - [Tasks](https://palbase.studio/docs/backend/tasks): @Task and Tasks.enqueue — work put on the machine's queue, done once, now or later: made again when it fails, failed tasks kept to try again, the machine asleep in between. - [Cache](https://palbase.studio/docs/backend/cache): Cache — the project's short-lived entries, shared by every copy of a machine: get, set, getOrSet, incr and del, time to live, the quota, and what a call does when the cache is away. - [Translations](https://palbase.studio/docs/backend/translations): t() — a sentence in the caller's language: palbase/strings/ kept with the code by `palbase strings`, missing translations from your AI module with --translate. - [Test Users](https://palbase.studio/docs/backend/test-users): Test users made with the secret key: what marks them, how to make and remove them, and user.test in a route. - [Testing](https://palbase.studio/docs/backend/testing): Testing a backend: services as plain classes, and the app's whole HTTP layer through handle(), with no network. Any page as raw Markdown: replace `/docs/` with `/docs-md/`, or append `.md` to its URL.