Introduction to Oxidite
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
hyperandtokiofor 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:
- Start with the Getting Started section to learn the basics
- Move through Core Concepts to understand the fundamentals
- Explore Advanced Features to unlock the full power of Oxidite
- Learn about the Ecosystem to integrate with other tools
- Review Deployment sections to prepare for production
Each chapter builds on the previous ones, but you can also jump to specific sections as needed.