ruskit 0.1.3

A modern web framework for Rust inspired by Laravel
Documentation

Ruskit

Ruskit is a web application framework with expressive, elegant syntax inspired by Laravel, built for Rust. We believe development must be an enjoyable and creative experience. Ruskit takes the pain out of web development by easing common tasks used in many web projects.

Features

  • 🚀 Expressive routing system
  • 🔒 Built-in authentication and authorization
  • 📦 Powerful dependency injection container
  • 🗄️ Elegant database ORM
  • ⚡ High performance and memory safety
  • 🛠️ Developer-friendly CLI tools
  • 🔧 Configuration management
  • 📝 Robust logging system

Prerequisites

Before you begin, ensure you have the following installed:

  • Rust (latest stable version)
  • cargo-generate - Install with:
    cargo install cargo-generate
    
  • cargo-make - Install with:
    cargo install cargo-make
    

Quick Start

Create a new Ruskit project:

cargo install ruskit-cli
ruskit new my-project

Navigate to project directory:

cd my-project

Start the development server:

cargo kit dev

Development Tools

Ruskit comes with several CLI tools to help you develop your application:

# Create a new model with migration
cargo kit make:model Post

# Create a new controller
cargo kit make:controller PostController

# Create a new DTO
cargo kit make:dto Post

# Create all components (model, controller, DTO)
cargo kit make:all Post

# Run database migrations
cargo kit migrate

# Start development server with hot reload
cargo kit dev

Documentation

For detailed documentation, please visit:

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

This project is licensed under the MIT License - see the LICENSE file for details.