Skip to main content
v0.0.3Active Development

Build elegant web services with Rust

Laravel-inspired framework with Domain-Driven Design architecture, bringing developer productivity and code clarity to Rust backend development.

Why Rust Ironclad?

Built for Rust artisans who want Laravel’s developer experience with Rust’s performance and safety guarantees

Domain-Driven Design

Clean 5-layer architecture separating domain logic, application services, and infrastructure. Build maintainable systems that scale with your team.

Blazing Fast

Powered by Actix-web and Tokio async runtime. Handle 50,000+ requests per second with zero-copy streaming and efficient connection pooling.

Type-Safe by Design

Value Objects with smart constructors ensure your domain never holds invalid state. Compile-time SQL verification with SQLx catches bugs before deployment.

Laravel-Style CLI

Artisan-inspired commands for maintenance mode, database checks, and storage management. Familiar workflows for developers coming from PHP.

Quick Start

Get your first Ironclad application running in under 5 minutes

1

Prerequisites

Install Rust 1.70+ and PostgreSQL 12+. You’ll also need sqlx-cli for database migrations.
# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install sqlx-cli
cargo install sqlx-cli
2

Clone and Configure

Clone the repository and set up your environment configuration.
git clone https://github.com/Vicente-Alejandro/Rust-Ironclad
cd Rust-Ironclad
cp .env.example .env
Edit .env with your database credentials and JWT secret.
3

Set Up Database

Create your database and run migrations to set up the schema.
createdb ironclad_db
sqlx migrate run
4

Run the Server

Start the development server and verify it’s working.
cargo run
Your API is now running at http://127.0.0.1:8080. Try the health check endpoint:
curl http://127.0.0.1:8080/api/administration/health

Explore the Documentation

Everything you need to build production-ready Rust web services

Architecture

Understand the DDD layers and how they work together

Core Concepts

Learn routing, controllers, services, and repositories

Database

Configure PostgreSQL and MongoDB connections

Security

Implement JWT authentication and authorization

CLI Commands

Master the Artisan-style command line tools

API Reference

Browse the complete module documentation

Ready to build with Ironclad?

Start building elegant, maintainable web services with the power of Rust and the simplicity of Laravel

Get Started Now