{"id":21800973,"url":"https://github.com/wpcodevo/simple-api-rust-axum","last_synced_at":"2025-04-13T18:23:22.251Z","repository":{"id":214300631,"uuid":"620562258","full_name":"wpcodevo/simple-api-rust-axum","owner":"wpcodevo","description":"If you're new to Rust and eager to build your first API, you're in luck: this article will guide you step by step through building a simple REST API in Rust using the Axum framework.","archived":false,"fork":false,"pushed_at":"2023-12-27T08:09:28.000Z","size":17,"stargazers_count":41,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T09:11:31.829Z","etag":null,"topics":["axum","axum-framework","rust","todo-app","todo-app-api","todo-list"],"latest_commit_sha":null,"homepage":"https://codevoweb.com/create-a-simple-api-in-rust-using-the-axum-framework/","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/wpcodevo.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}},"created_at":"2023-03-28T23:44:16.000Z","updated_at":"2025-02-27T01:47:47.000Z","dependencies_parsed_at":"2023-12-27T09:25:10.786Z","dependency_job_id":"08daa46d-c838-4d7a-9489-271d8857fe4c","html_url":"https://github.com/wpcodevo/simple-api-rust-axum","commit_stats":null,"previous_names":["wpcodevo/simple-api-rust-axum"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fsimple-api-rust-axum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fsimple-api-rust-axum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fsimple-api-rust-axum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fsimple-api-rust-axum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpcodevo","download_url":"https://codeload.github.com/wpcodevo/simple-api-rust-axum/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248759141,"owners_count":21157098,"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":["axum","axum-framework","rust","todo-app","todo-app-api","todo-list"],"created_at":"2024-11-27T11:15:26.253Z","updated_at":"2025-04-13T18:23:22.227Z","avatar_url":"https://github.com/wpcodevo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create a Simple API in Rust using the Axum Framework\n\nIf you're new to Rust and eager to build your first API, you're in luck: this article will guide you step by step through building a simple REST API in Rust using the Axum framework. \n\n![Create a Simple API in Rust using the Axum Framework](https://codevoweb.com/wp-content/uploads/2023/03/Create-a-Simple-API-in-Rust-using-the-Axum-Framework.webp)\n\n## Topics Covered\n\n- Run the Rust Axum API on your Machine\n- Setup the Rust Project\n- Create an In-memory Database\n- Define the API Response Structs\n- Create the Axum API Route Handlers\n    - Axum Route Function to Fetch All Records\n    - Axum Route Function to Add a Record\n    - Axum Route Function to Retrieve a Record\n    - Axum Route Function to Edit a Record\n    - Axum Route Function to Delete a Record\n    - The Complete Axum Route Functions\n- Create the Axum API Routes\n- Register the API Routes and Setup CORS in Axum\n- Conclusion\n\n\nRead the entire article here: [https://codevoweb.com/create-a-simple-api-in-rust-using-the-axum-framework/](https://codevoweb.com/create-a-simple-api-in-rust-using-the-axum-framework/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fsimple-api-rust-axum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpcodevo%2Fsimple-api-rust-axum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fsimple-api-rust-axum/lists"}