Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Introduction to Oxidite

Oxidite Logo

Welcome to the comprehensive guide to Oxidite, a modern, high-performance web framework for Rust. This guide takes you from installation to advanced features, covering everything needed to build production-ready applications.

What is Oxidite?

Oxidite is a batteries-included web framework that combines Rust’s performance with developer-friendly APIs. It provides a complete ecosystem for building scalable web applications, from REST APIs to fullstack server-side rendered apps.

Key Features

  • High Performance: Built on hyper and tokio for blazing speed
  • Advanced ORM: Complete database layer with relationships, soft deletes, validation
  • Powerful CLI: Scaffolding, migrations, hot-reload dev server, code generators
  • Batteries Included: RBAC/PBAC, API Keys, Queues, Caching, Email, Storage, Plugins
  • Enterprise Security: Password hashing, JWT, OAuth2, 2FA, rate limiting
  • Template Engine: Jinja2-style templates with inheritance and auto-escaping
  • Real-time: WebSockets and Redis pub/sub support
  • Type-Safe: Strong typing for requests, responses, and database queries
  • Auto-Documentation: OpenAPI/Swagger UI generation

Philosophy

Oxidite follows the philosophy of “convention over configuration” while maintaining the flexibility to build everything from simple APIs to complex full-stack applications. The framework provides sensible defaults while allowing customization where needed.

Who Should Read This Guide?

This guide is designed for:

  • Rust developers looking to build web applications
  • Developers familiar with frameworks like Express.js, FastAPI, or Laravel who want to leverage Rust’s performance
  • Teams building scalable web services
  • Anyone interested in modern web development patterns with type safety

How to Use This Guide

This guide is structured to take you from beginner to advanced concepts:

  1. Start with the Getting Started section to learn the basics
  2. Move through Core Concepts to understand the fundamentals
  3. Explore Advanced Features to unlock the full power of Oxidite
  4. Learn about the Ecosystem to integrate with other tools
  5. Review Deployment sections to prepare for production

Each chapter builds on the previous ones, but you can also jump to specific sections as needed.