Guides
Step-by-step tutorials to help you build with Foir.
Start here
App architecture
How a Foir app is put together: the two actors that reach a user’s data (the user, as themselves, and an operation, under its declared grants), the backend-for-frontend pattern Foir refuses, who may run an operation from the browser, and when an admin key is right.
Automation
Building Operations
Build and deploy custom operation endpoints that extend Foir with your own logic. Covers scaffolding, implementation, scoped-token verification, deployment, and registration.
Building an App
Build a manifest-installable app — credentials, middleware, operations, hooks, UI placements — that any Foir project can adopt with one URL.
AI & Search
Setting Up AI Search
Enable semantic search for your project. Covers enabling embeddings, generating vectors, and performing natural language searches across your content.
Your Data
Export to Postgres
Take your project out of Foir as an ordinary Postgres database — typed tables, real foreign keys, your media, and your access rules still enforced. Covers running the export, restoring it, verifying it, and what doesn’t come with it.
More Resources
- Features — All platform features with console, CLI, and API usage
- Config System — Define your project as code
- API Reference — GraphQL API documentation
- CLI Reference — Command-line tool documentation