Varel Web Framework

API Documentation - Version 0.1.6

app

Application framework with builder pattern for configuring Varel applications.

router

High-performance radix tree router with O(k) lookup and Roda-style path consumption.

http

HTTP request/response handling with Context, cookies, uploads, and helper functions.

middleware

Built-in middleware: logging, CORS, sessions, auth, CSRF, rate limiting, compression.

vareldb

PostgreSQL database helpers with direct connections, transactions, and migrations.

templates

VeeMarker template rendering with layouts and compile-time template compilation.

session

Session management with cookie-based and PostgreSQL storage backends.

auth

Authentication handlers and user management for securing Varel applications.

staticfs

Static file serving with MIME type detection, caching headers, and ETag support.

server

Multi-worker picoev server with master process management and graceful shutdown.

controller

Rails-style controller pattern for organizing application route handlers.

testing

Testing framework with HTTP test client, assertions, and test fixtures.

Varel Web Framework © 2025 Leafscale, LLC - GitHub - MIT License