{"id":21800978,"url":"https://github.com/wpcodevo/simple-api","last_synced_at":"2026-03-09T11:05:36.855Z","repository":{"id":121164937,"uuid":"586963903","full_name":"wpcodevo/simple-api","owner":"wpcodevo","description":"This tutorial will teach you how to build a simple CRUD API in Rust using the Warp web framework and Tokio. We'll use Rust and a few well-known libraries to create a RESTful API that runs on a Warp HTTP server and stores data in memory.","archived":false,"fork":false,"pushed_at":"2023-01-10T08:32:53.000Z","size":14,"stargazers_count":30,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T18:32:53.582Z","etag":null,"topics":["crud","crud-api","rest-api","restful-api","rust","rust-api","rust-lang","tokio","tokio-rs","warp"],"latest_commit_sha":null,"homepage":"https://codevoweb.com/build-a-simple-api-in-rust/","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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-09T16:37:34.000Z","updated_at":"2025-04-13T13:19:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"798e1730-63e8-46e2-a8c2-238768c0d198","html_url":"https://github.com/wpcodevo/simple-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wpcodevo/simple-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fsimple-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fsimple-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fsimple-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fsimple-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpcodevo","download_url":"https://codeload.github.com/wpcodevo/simple-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fsimple-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30291857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["crud","crud-api","rest-api","restful-api","rust","rust-api","rust-lang","tokio","tokio-rs","warp"],"created_at":"2024-11-27T11:15:28.396Z","updated_at":"2026-03-09T11:05:36.847Z","avatar_url":"https://github.com/wpcodevo.png","language":"Rust","readme":"#  Build a Simple API in Rust\n\nThis tutorial will teach you how to build a simple CRUD API in Rust using the Warp web framework and Tokio. We'll use Rust and a few well-known libraries to create a RESTful API that runs on a Warp HTTP server and stores data in memory.\n\n![Build a Simple API in Rust](https://codevoweb.com/wp-content/uploads/2023/01/Build-a-Simple-API-in-Rust.webp)\n\n## Topics Covered\n\n- Run the Rust API Project Locally\n- Setup the Rust Project\n- Create the API Model\n- Create the API Response Structs\n- Create the API Route Handlers\n    - Health Checker Route Handler\n    - Find All Records Route Handler\n    - Create Record Route Handler\n    - Find One Record Route Handler\n    - Edit Record Route Handler\n    - Delete Record Route Handler\n- Create the API Routes and Setup CORS\n- Test the API Endpoints\n    - Add New Record\n    - Update a Record\n    - Get a Record\n    - Get All Records\n    - Delete a Record\n\n\nRead the entire article here: [https://codevoweb.com/build-a-simple-api-in-rust/](https://codevoweb.com/build-a-simple-api-in-rust/)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fsimple-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpcodevo%2Fsimple-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fsimple-api/lists"}