Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
forked fromloco-rs/loco

🚂 🦀 The one-person framework for Rust for side-projects and startups

License

NotificationsYou must be signed in to change notification settings

MoreTore/loco

 
 

Repository files navigation

Loco.rsCurrent Crates.io VersionDiscord channel

Welcome to Loco!

https://loco.rs

Loco is "Rust on Rails".

Loco is strongly inspired by Rails. If you know Rails and Rust, you'll feel at home. If you only know Rails and new to Rust, you'll find Loco refreshing. We do not assume you know Rails.

Quick Start

$ cargo install loco-cli

Now you can create your new app (choose "SaaS app").

$ loco new❯ App name? [myapp]:❯ SaaS app (with DB and user auth)  Stateless service (minimal, no db)🚂 Loco app generated successfully in:myapp

To configure a database , please run a local postgres database withloco:loco and a db named[insert app]_development.

$ docker run -d -p 5432:5432 -e POSTGRES_USER=loco -e POSTGRES_DB=myapp_development -e POSTGRES_PASSWORD="loco" postgres:15.3-alpine

Nowcd into yourmyapp and start your app:

$ cd myapp$ cargo loco startFinished dev [unoptimized + debuginfo] target(s) in 21.63s    Running `target/debug/myapp start`    :    :    :controller/app_routes.rs:203: [Middleware] Adding log trace id                      ▄     ▀                                 ▀  ▄                  ▄       ▀     ▄  ▄ ▄▀                                    ▄ ▀▄▄                        ▄     ▀    ▀  ▀▄▀█▄                                          ▀█▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▀▀█ ██████  █████   ███ █████   ███ █████   ███ ▀█ ██████  █████   ███ █████   ▀▀▀ █████   ███ ▄█▄ ██████  █████   ███ █████       █████   ███ ████▄ ██████  █████   ███ █████   ▄▄▄ █████   ███ █████ ██████  █████   ███  ████   ███ █████   ███ ████▀   ▀▀▀██▄ ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀ ██▀       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀started on port 3000

Project Status

Loco is feature complete, but features are still being added rapidly.

What can you build?

  • Stateless APIs
  • Complete SaaS products with user authentication
  • Purpose-built services such as ML inference endpoints
  • Full stack projects with separate frontend project integrated with Loco
  • Hobby projects full-stack with backend and HTML frontend

What's being done now?

  • Viewissues for what we plan next and what we work on (you're welcome to submit PRs!)
  • ViewCHANGELOG for what we already added

Powered by Loco

  • SpectralOps - various services powered by Loco framework
  • Nativish - app backend powered by Loco framework

open an issue to add yourself here

Contributors ✨

Thanks goes to these wonderful people:

About

🚂 🦀 The one-person framework for Rust for side-projects and startups

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust100.0%

[8]ページ先頭

©2009-2025 Movatter.jp