45 lines
720 B
Markdown
45 lines
720 B
Markdown
---
|
|
title: Loco.rs Backend Framework
|
|
slug: loco-rs-framework
|
|
description: An introduction to Loco.rs, the Rails-inspired web framework for Rust.
|
|
category: tech
|
|
post_type: article
|
|
pinned: false
|
|
published: true
|
|
tags:
|
|
- rust
|
|
- loco-rs
|
|
- backend
|
|
- api
|
|
---
|
|
|
|
# Introduction to Loco.rs
|
|
|
|
Loco.rs is a web and API framework for Rust inspired by Rails.
|
|
|
|
## Features
|
|
|
|
- MVC Architecture
|
|
- SeaORM Integration
|
|
- Background Jobs
|
|
- Authentication
|
|
- CLI Generator
|
|
|
|
## Quick Start
|
|
|
|
```bash
|
|
cargo install loco
|
|
loco new myapp
|
|
cd myapp
|
|
cargo loco start
|
|
```
|
|
|
|
## Why Loco.rs?
|
|
|
|
- Opinionated but flexible
|
|
- Production-ready defaults
|
|
- Excellent documentation
|
|
- Active community
|
|
|
|
Perfect for building APIs and web applications in Rust.
|