{"id":40961937,"url":"https://github.com/ilkka/rust-backend-starter","last_synced_at":"2026-01-22T05:44:41.654Z","repository":{"id":37176945,"uuid":"451080814","full_name":"ilkka/rust-backend-starter","owner":"ilkka","description":"A backend API starter with Rust \u0026 postgres","archived":false,"fork":false,"pushed_at":"2026-01-15T01:29:40.000Z","size":70,"stargazers_count":4,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T07:56:26.889Z","etag":null,"topics":["api","openapi","postgres","rest","rust","swagger"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilkka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-01-23T11:16:55.000Z","updated_at":"2025-01-02T18:30:56.000Z","dependencies_parsed_at":"2023-11-17T20:00:17.275Z","dependency_job_id":"6808ca5e-d33c-40c9-8a82-11d84d7b9e91","html_url":"https://github.com/ilkka/rust-backend-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ilkka/rust-backend-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilkka%2Frust-backend-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilkka%2Frust-backend-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilkka%2Frust-backend-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilkka%2Frust-backend-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilkka","download_url":"https://codeload.github.com/ilkka/rust-backend-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilkka%2Frust-backend-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28656569,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","openapi","postgres","rest","rust","swagger"],"created_at":"2026-01-22T05:44:41.582Z","updated_at":"2026-01-22T05:44:41.641Z","avatar_url":"https://github.com/ilkka.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust backend starter\n\nRust backend starter with\n\n- OpenAPI spec \u0026 swagger with rocket_okapi\n- Postgres with diesel\n- dotenv for config (for development)\n\nWhy? Because I happened to work through this and all the bits weren't immediately obvious.\n\n## How to start developing\n\n1. Install diesel CLI with\n\n   ```shell\n   cargo install diesel_cli --no-default-features --features postgres\n   ```\n\n2. Run the dev database with\n\n   ```shell\n   docker-compose up -d\n   ```\n\n3. Run migrations with\n\n   ```shell\n   diesel migration run\n   ```\n\n4. Install watchexec with\n\n   ```shell\n   cargo install watchexec-cli\n   ```\n\n5. Start in dev mode with\n\n   ```shell\n   watchexec --restart cargo run\n   ```\n\n6. Open up Swagger UI at http://localhost:8000/swagger\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filkka%2Frust-backend-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filkka%2Frust-backend-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filkka%2Frust-backend-starter/lists"}