{"id":25129702,"url":"https://github.com/benhunter/til","last_synced_at":"2025-04-02T21:44:17.089Z","repository":{"id":234235087,"uuid":"743770057","full_name":"benhunter/til","owner":"benhunter","description":"Today I Learned web app in Rust using Loco","archived":false,"fork":false,"pushed_at":"2024-01-16T00:37:17.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T12:18:38.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benhunter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-16T00:23:33.000Z","updated_at":"2024-01-16T00:37:21.000Z","dependencies_parsed_at":"2024-04-18T15:58:13.388Z","dependency_job_id":"ea694349-0cc7-4403-8aee-ab74a1d6bb14","html_url":"https://github.com/benhunter/til","commit_stats":null,"previous_names":["benhunter/til"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Ftil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Ftil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Ftil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benhunter%2Ftil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benhunter","download_url":"https://codeload.github.com/benhunter/til/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246899635,"owners_count":20851894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-08T12:18:37.346Z","updated_at":"2025-04-02T21:44:17.074Z","avatar_url":"https://github.com/benhunter.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Welcome to Loco :train:\n\nLoco is a web and API framework running on Rust.\n\nThis is the **SaaS starter** which includes a `User` model and authentication based on JWT.\n\n\n## Quick Start\n\nYou need:\n\n* A local postgres instance\n* A local Redis instance\n\nCheck out your development [configuration](config/development.yaml).\n\n\u003e To configure a database , please run a local postgres database with \u003ccode\u003eloco:loco\u003c/code\u003e and a db named \u003ccode\u003e[app name]_development.\u003c/code\u003e: \n\u003ccode\u003edocker run -d -p 5432:5432 -e POSTGRES_USER=loco -e POSTGRES_DB=[app name]_development -e POSTGRES_PASSWORD=\"loco\" postgres:15.3-alpine\u003c/code\u003e\n\nNow start your app:\n\n```\n$ cargo loco start\nFinished dev [unoptimized + debuginfo] target(s) in 21.63s\n    Running `target/debug/myapp start`\n\n    :\n    :\n    :\n\ncontroller/app_routes.rs:203: [Middleware] Adding log trace id\n\n                      ▄     ▀\n                                 ▀  ▄\n                  ▄       ▀     ▄  ▄ ▄▀\n                                    ▄ ▀▄▄\n                        ▄     ▀    ▀  ▀▄▀█▄\n                                          ▀█▄\n▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▀▀█\n ██████  █████   ███ █████   ███ █████   ███ ▀█\n ██████  █████   ███ █████   ▀▀▀ █████   ███ ▄█▄\n ██████  █████   ███ █████       █████   ███ ████▄\n ██████  █████   ███ █████   ▄▄▄ █████   ███ █████\n ██████  █████   ███  ████   ███ █████   ███ ████▀\n   ▀▀▀██▄ ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀ ██▀\n       ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀\n\nstarted on port 3000\n```\n\n## Getting help\n\nCheck out [a quick tour](https://loco.rs/docs/getting-started/tour/) or [the complete guide](https://loco.rs/docs/getting-started/guide/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhunter%2Ftil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenhunter%2Ftil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenhunter%2Ftil/lists"}