{"id":30141255,"url":"https://github.com/montycoder0701/axum-starter","last_synced_at":"2025-08-11T04:35:48.837Z","repository":{"id":306910211,"uuid":"1027578964","full_name":"MontyCoder0701/axum-starter","owner":"MontyCoder0701","description":"Boilerplate including most things you need in axum","archived":false,"fork":false,"pushed_at":"2025-07-28T10:24:24.000Z","size":20,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-28T12:08:28.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/MontyCoder0701.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-28T08:15:52.000Z","updated_at":"2025-07-28T10:24:16.000Z","dependencies_parsed_at":"2025-07-28T12:19:00.982Z","dependency_job_id":null,"html_url":"https://github.com/MontyCoder0701/axum-starter","commit_stats":null,"previous_names":["montycoder0701/axum-starter"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/MontyCoder0701/axum-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MontyCoder0701%2Faxum-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MontyCoder0701%2Faxum-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MontyCoder0701%2Faxum-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MontyCoder0701%2Faxum-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MontyCoder0701","download_url":"https://codeload.github.com/MontyCoder0701/axum-starter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MontyCoder0701%2Faxum-starter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269832135,"owners_count":24482300,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"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":[],"created_at":"2025-08-11T04:35:44.816Z","updated_at":"2025-08-11T04:35:48.813Z","avatar_url":"https://github.com/MontyCoder0701.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# axum-starter\r\n\r\nThis is a simple starter repository for axum projects.  \r\nUse it for hackathons or external projects as a boilerplate — clone and customize as needed.\r\n\r\n## What's Included\r\n\r\n### GitHub Actions\r\n\r\n- **Release Please** – automated release management\r\n- **Dependabot** – automatic dependency updates\r\n- **Dependabot Validation** - automatic build check for dependabot PRs\r\n- **CI** – basic continuous integration for build, lint checks (clippy)\r\n\r\n### Database\r\n\r\n- **MySQL**\r\n- [**Diesel**](https://diesel.rs)\r\n\r\n## Notice\r\n\r\nIf you're using Dependabot, ensure the following setting is enabled:\r\n\r\n\u003e **Settings → Actions → General → Allow GitHub Actions to create and approve pull requests**\r\n\r\n## How to run local server\r\n\r\nAdd and place `.env` in root directory. Fill in appropriate values for each.\r\n\r\n```md\r\nDATABASE_URL=\r\n```\r\n\r\nRun local server.\r\n\r\n```bash\r\ncargo run\r\n```\r\n\r\nServer is running on http://localhost:3200.\r\n\r\n## Migrations\r\n\r\nGenerate migration\r\n\r\n```bash\r\ndiesel migration generate --diff-schema {migration_name}\r\n```\r\n\r\nRun migration\r\n\r\n```bash\r\ndiesel migration run\r\n```\r\n\r\nRevert migration with\r\n\r\n```bash\r\ndiesel migration revert\r\n```\r\n\r\nRedo migration with\r\n\r\n```bash\r\ndiesel migration redo\r\n```\r\n\r\nAfter changing schema, apply to migration\r\n\r\n```bash\r\ndiesel migration generate --diff-schema {migration_name}\r\n```\r\n\r\n## Troubleshooting\r\n\r\nhttps://github.com/diesel-rs/diesel/issues/1286\r\n\r\nMake sure to setup system variables for MySQL in Windows.\r\n\r\n```md\r\nWrite appropriate version number in {version}\r\n\r\nMYSQLCLIENT_LIB_DIR=C:\\Program Files\\MySQL\\MySQL Server {version}\\lib\r\n\r\nMYSQLCLIENT_VERSION={version}\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmontycoder0701%2Faxum-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmontycoder0701%2Faxum-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmontycoder0701%2Faxum-starter/lists"}