Testing Software

Loco – Web or API framework for Rust

Loco is a Web or API framework for Rust. It’s also a productivity suite for developers: it contains everything you need while building a hobby or your next startup. It’s also strongly inspired by Rails.

Build apps locally and save lots of time. No need for SaaS or cloud services. Save time, money, and effort with auth, workers, emails & more out of the box.

This is free and open source software.

Key Features

  • You have a variant of the MVC model, which removes the paradox of option. You deal with building your app, not making academic decisions for what abstractions to use.
    • Models – model your business with rich entities and avoid writing SQL, backed by SeaORM. Build relations, validation and custom logic on your entities for the best maintainability.
    • Views – use server-rendered templates with Tera or JSON. Loco can render views on the server or work with a frontend app seamlessly. Configure your fullstack set up any way you like.
    • Controllers – handle Web requests parameters, body, validation, and render a response that is content-aware. We use Axum for the best performance, simplicity and extensibility.
    • Background jobs – perform compute or I/O intensive jobs in the background with a Redis backed queue, or with threads. Implementing a worker is as simple as implementing a perform function for the Worker trait.
    • Deployment – generate deployment configurations with a guided CLI interface. Select from deployment options for tailored deployment setups.
    • Scheduler – simplifies the traditional, often cumbersome crontab system, making it easier and more elegant to schedule tasks or shell scripts.
  • Fat models, slim controllers. Models should contain most of your logic and business implementation, controllers should just be a lightweight router that understands HTTP and moves parameters around.
  • Command line driven to keep your momentum and flow. Generate stuff over copying and pasting or coding from scratch.
  • Every task is “infrastructure-ready”, just plug in your code and wire it in: controllers, models, views, tasks, background jobs, mailers, and more.
  • Convention over configuration: decisions are already done for you — the folder structure matter, configuration shape and values matter, and the way an app is wired matter to how an app operates and for you do be the most effective.

Website: loco.rs
Support: GitHub Code Repository
Developer: Elad Kaplan, Dotan J. Nahum
License: Apache License 2.0

Loco is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Rust Web Frameworks
axumErgonomic and modular web framework
warpComposable, web server framework
hyperProtective and efficient HTTP library
LocoWeb or API framework for Rust
GothamFlexible web framework that promotes stability, safety, security and speed
RocketAsync web framework focusing on usability, security, extensibility, and speed.
PoemFull-featured and easy-to-use web framework
ntexFramework for composable network services
TrilliumModular toolkit for building async web applications
zinoNext-generation framework for composable applications
IronExtensible, concurrency focused web development
VizFast, robust, flexible, lightweight web framework
Xitca-WebHTTP library and web framework
ThrusterFast, middleware based, web framework
nickelSimple and lightweight foundation for web applications
GraphulExpress inspired web framework
RoaAsync web framework inspired by koa, lightweight but powerful
OhkamiIntuitive and declarative web framework

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments