Documentation
Welcome to the Flaxon documentation. Use the sidebar to navigate through the guides, core concepts, API reference, and examples.
Start with the Quick Start guide to build your first application in minutes.
Getting Started
Get up and running with Flaxon quickly.
Installation
Install Flaxon via pip with optional dependencies.
Learn more →Quick Start
Build your first Flaxon application in minutes.
Learn more →Philosophy
Understand the principles behind Flaxon.
Learn more →Core Concepts
Learn the fundamental building blocks of Flaxon.
Routing
Define routes with Flask-style decorators and path parameters.
Learn more →Requests
Access headers, cookies, query params, and request bodies.
Learn more →Responses
Return JSON, HTML, text, redirects, and streaming responses.
Learn more →Middleware
Add cross-cutting concerns like CORS, logging, and rate limiting.
Learn more →Validation
Declarative schemas with automatic 422 responses.
Learn more →Guides
Deep dives into specific Flaxon features and integrations.
Databases
Connect to PostgreSQL, SQLite, MongoDB, and more.
Learn more →Authentication
JWT, session, OAuth2, and API key authentication.
Learn more →Authorization
Role-based and permission-based access control.
Learn more →WebSockets
Real-time communication with room broadcasting.
Learn more →Tasks
Background job processing with retries and scheduling.
Learn more →Jinax Templates
Optional Jinja2 integration for HTML rendering.
Learn more →Testing
Test your application with sync and async test clients.
Learn more →Debugging
Readable error messages with request context and suggestions.
Learn more →Plugins
Extend Flaxon with modular plugins.
Learn more →Mobile Backends
Optimized for Android, iOS, and Flutter applications.
Learn more →API Reference
Complete API documentation for Flaxon classes and methods.
Application
Flaxon class, Config, and State.
View API →Routing
Router, Route, and URL generation.
View API →HTTP
Request, Response, Headers, and Cookies.
View API →WebSocket
WebSocket, Manager, and connection handling.
View API →Validation
Schema, Fields, and Validators.
View API →Security
JWT, Sessions, CSRF, and Rate Limiting.
View API →Jinax
Template engine, filters, and functions.
View API →Tasks
Task, Queue, Worker, and Scheduler.
View API →Testing
TestClient, Assertions, and fixtures.
View API →Examples
Real-world examples demonstrating Flaxon in action.
Basic API
RESTful CRUD operations with validation.
View Example →React Backend
CORS-enabled API for React applications.
View Example →Android Backend
Mobile-optimized API with JWT authentication.
View Example →WebSocket Chat
Real-time chat with room broadcasting.
View Example →Jinax Website
Server-rendered HTML with Jinax templates.
View Example →Large Application
Structured app with routers, services, and repositories.
View Example →