6 releases

0.14.0 Jan 9, 2025
0.13.3 Nov 26, 2024
0.0.1 Jun 23, 2024

#121 in Configuration

Download history 13/week @ 2024-09-28 28/week @ 2024-10-05 22/week @ 2024-10-12 4/week @ 2024-10-19 5/week @ 2024-10-26 6/week @ 2024-11-02 5/week @ 2024-11-09 463/week @ 2024-11-16 370/week @ 2024-11-23 193/week @ 2024-11-30 216/week @ 2024-12-07 171/week @ 2024-12-14 135/week @ 2024-12-21 100/week @ 2024-12-28 468/week @ 2025-01-04 219/week @ 2025-01-11

943 downloads per month

Apache-2.0

370KB
2.5K SLoC

Loco CLI

Loco is a powerful framework designed to streamline the development of modern web applications with a focus on ease of use and flexibility. Whether you're building a SaaS app, a REST API, or a minimal service, Loco provides the tools you need to get started quickly and scale as your application grows. With built-in configuration for popular databases, background workers, and asset serving options, Loco gives you the power to customize your project to fit your needs.

Templates Versatile Options

Loco empowers you to tailor your project to fit a variety of needs. Here are some of the versatile options it offers:

Application Types

  • SaaS Applications: Create platforms with features like user authentication, database integration, and scalable background processing.
  • REST APIs: Build robust APIs with database support, authentication, and modular controllers.
  • Lightweight Services: Focus on simplicity with minimal setups that include only essential controllers and views.

Advanced Customization

Loco is designed to offer advanced customization to meet the unique needs of your project. Whether you need a simple app that can evolve over time or a complex application that requires a specific configuration, Loco provides the flexibility to fine-tune your setup.

Getting Started

To install the Loco CLI on your machine, simply run the following command in your terminal:

cargo install loco

This will install the latest version of Loco globally, making it accessible from anywhere in your terminal.

Create a New Project:

Once installed, you can create a new Loco project by running the following command:

loco new

This will initiate a wizard that will guide you through the process of setting up your project.

Upgrade

The Loco CLI is bundled with the Loco framework create version. To ensure you're using the latest version of Loco and to get the most up-to-date templates, simply run the following command:

cargo install loco

This will update the Loco CLI to the latest version, replacing the existing loco binary with the newest release. After upgrading, any new templates you generate will reflect the latest features and improvements.

Dependencies

~17–26MB
~367K SLoC