An open API service indexing awesome lists of open source software.

https://github.com/pratik-codes/rust-blueprint

Rust Blueprint is a powerful CLI tool that generates production-ready Rust web applications in seconds. Rust Blueprint sets up the perfect project structure so you can focus on writing business logic, not boilerplate.
https://github.com/pratik-codes/rust-blueprint

Last synced: 8 months ago
JSON representation

Rust Blueprint is a powerful CLI tool that generates production-ready Rust web applications in seconds. Rust Blueprint sets up the perfect project structure so you can focus on writing business logic, not boilerplate.

Awesome Lists containing this project

README

          


Rust Blueprint Logo

# ๐Ÿฆ€ Rust Blueprint

**Blazingly fast project scaffolding for Rustaceans**

[![Status: In Progress](https://img.shields.io/badge/status-in--progress-orange.svg)](#)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

---

## ๐Ÿš€ What is Rust Blueprint?

Rust Blueprint is a powerful CLI tool that generates production-ready Rust web applications in seconds. Whether you're building a REST API, GraphQL server, or full-stack application, Rust Blueprint sets up the perfect project structure so you can focus on writing business logic, not boilerplate.

### ๐ŸŽฏ Why Rust Blueprint?

- **โšก Lightning Fast Setup**: Generate a complete project structure in under 10 seconds
- **๐Ÿ”ง Framework Flexibility**: Choose from popular Rust web frameworks
- **๐Ÿ—„๏ธ Database Ready**: Pre-configured database connections and migrations
- **๐ŸŽจ Modern Tooling**: Includes hot-reloading, formatting, and linting out of the box
- **๐Ÿณ Production Ready**: Docker, CI/CD, and deployment configurations included
- **๐Ÿฆพ Type Safety**: Leverage Rust's powerful type system from day one

## ๐Ÿ“ฆ Installation
```bash
cargo install rust-blueprint
```

Or install from source:

```bash
git clone https://github.com/rust-blueprint/rust-blueprint
cd rust-blueprint
cargo install --path .
```

## ๐ŸŽฎ Quick Start

### Interactive Mode (Recommended)

```bash
rust-blueprint create
```

### Command Line Mode

```bash
rust-blueprint create --name my-awesome-api --framework axum --database postgres
```

### With Advanced Features

```bash
rust-blueprint create --name my-app --framework axum --database postgres --features docker,github-actions
```

## ๐Ÿ› ๏ธ Supported Technologies

### Web Frameworks

| Framework | Description | Status |
|-----------|-------------|---------|
| **Axum** | Ergonomic and modular web framework | โœ… Stable |
| **Actix Web** | Powerful, pragmatic, and extremely fast | โœ… Stable |
| **Rocket** | Type-safe web framework with focus on usability | โœ… Stable |
| **Warp** | Composable, fast web server framework | โœ… Stable |
| **Tide** | Modular web framework built on async-std | ๐Ÿšง Beta |
| **Poem** | Full-featured and easy-to-use web framework | ๐Ÿšง Beta |

### Databases

| Database | Driver/ORM Options | Migration Support |
|----------|-------------------|-------------------|
| **PostgreSQL** | SQLx, Diesel, SeaORM | โœ… |
| **MySQL/MariaDB** | SQLx, Diesel, SeaORM | โœ… |
| **SQLite** | SQLx, Diesel, SeaORM | โœ… |
| **MongoDB** | Official Driver | โœ… |
| **Redis** | redis-rs | N/A |
| **ScyllaDB** | scylla-rust-driver | โœ… |

### Advanced Features

- ๐Ÿณ **Docker** - Multi-stage Dockerfile optimized for Rust
- ๐Ÿ”„ **CI/CD** - GitHub Actions, GitLab CI, or Jenkins
- ๐ŸŒ **GraphQL** - Async-graphql or Juniper integration
- ๐Ÿ”Œ **WebSocket** - Real-time communication support
- ๐Ÿ“Š **Telemetry** - OpenTelemetry and structured logging
- ๐ŸŽจ **Frontend** - HTMX, Leptos, or React/Vue.js integration
- ๐Ÿ“ **API Docs** - OpenAPI/Swagger documentation
- ๐Ÿงช **Testing** - Unit, integration, and E2E test setup