Let’s agree if we should hold a daily today
Go to file
2024-12-05 02:01:19 +01:00
.cargo initial commit 2024-12-04 21:13:44 +01:00
.github/workflows initial commit 2024-12-04 21:13:44 +01:00
assets initial commit 2024-12-04 21:13:44 +01:00
config initial commit 2024-12-04 21:13:44 +01:00
docker chore: update backend config files, add mailpit docker service 2024-12-05 02:01:19 +01:00
examples initial commit 2024-12-04 21:13:44 +01:00
frontend initial commit 2024-12-04 21:13:44 +01:00
migration initial commit 2024-12-04 21:13:44 +01:00
src initial commit 2024-12-04 21:13:44 +01:00
tests initial commit 2024-12-04 21:13:44 +01:00
.env initial commit 2024-12-04 21:13:44 +01:00
.envrc initial commit 2024-12-04 21:13:44 +01:00
.gitignore chore: update backend config files, add mailpit docker service 2024-12-05 02:01:19 +01:00
.rustfmt.toml initial commit 2024-12-04 21:13:44 +01:00
Cargo.lock chore: update backend config files, add mailpit docker service 2024-12-05 02:01:19 +01:00
Cargo.toml initial commit 2024-12-04 21:13:44 +01:00
flake.lock initial commit 2024-12-04 21:13:44 +01:00
flake.nix chore: update backend config files, add mailpit docker service 2024-12-05 02:01:19 +01:00
README.md initial commit 2024-12-04 21:13:44 +01:00
rust-toolchain.toml initial commit 2024-12-04 21:13:44 +01:00

Welcome to Loco 🚋

Loco is a web and API framework running on Rust.

This is the SaaS starter which includes a User model and authentication based on JWT. It also include configuration sections that help you pick either a frontend or a server-side template set up for your fullstack server.

Quick Start

cargo loco start
$ cargo loco start
Finished dev [unoptimized + debuginfo] target(s) in 21.63s
    Running `target/debug/myapp start`

    :
    :
    :

controller/app_routes.rs:203: [Middleware] Adding log trace id

                      ▄     ▀
                                 ▀  ▄
                  ▄       ▀     ▄  ▄ ▄▀
                                    ▄ ▀▄▄
                        ▄     ▀    ▀  ▀▄▀█▄
                                          ▀█▄
▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▀▀█
 ██████  █████   ███ █████   ███ █████   ███ ▀█
 ██████  █████   ███ █████   ▀▀▀ █████   ███ ▄█▄
 ██████  █████   ███ █████       █████   ███ ████▄
 ██████  █████   ███ █████   ▄▄▄ █████   ███ █████
 ██████  █████   ███  ████   ███ █████   ███ ████▀
   ▀▀▀██▄ ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀ ██▀
       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                https://loco.rs

environment: development
   database: automigrate
     logger: debug
compilation: debug
      modes: server

listening on http://localhost:5150

Full Stack Serving

You can check your configuration to pick either frontend setup or server-side rendered template, and activate the relevant configuration sections.

Getting help

Check out a quick tour or the complete guide.