{"id":21801149,"url":"https://github.com/wpcodevo/crud-app-pymongo","last_synced_at":"2026-04-18T14:33:39.099Z","repository":{"id":121163538,"uuid":"563315797","full_name":"wpcodevo/crud-app-pymongo","owner":"wpcodevo","description":"In this article, you'll learn how to build a CRUD application with FastAPI, PyMongo, and a MongoDB database. You'll have a full-fledged REST API that can accept CRUD (Create, Read, Update, and Delete) requests from an API testing tool or a frontend application.","archived":false,"fork":false,"pushed_at":"2022-11-10T15:37:43.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T06:46:30.735Z","etag":null,"topics":["crud-api","crud-app","fastapi","fastapi-app","fastapi-crud-app","fastapi-restful-api","python-crud-app","restful","restful-api"],"latest_commit_sha":null,"homepage":"https://codevoweb.com/build-a-crud-app-with-fastapi-and-pymongo","language":"Python","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}},"created_at":"2022-11-08T11:09:08.000Z","updated_at":"2023-11-26T23:33:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"8733c45c-02bf-4fd7-b501-fc2387a3e79b","html_url":"https://github.com/wpcodevo/crud-app-pymongo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wpcodevo/crud-app-pymongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fcrud-app-pymongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fcrud-app-pymongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fcrud-app-pymongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fcrud-app-pymongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpcodevo","download_url":"https://codeload.github.com/wpcodevo/crud-app-pymongo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpcodevo%2Fcrud-app-pymongo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31972381,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["crud-api","crud-app","fastapi","fastapi-app","fastapi-crud-app","fastapi-restful-api","python-crud-app","restful","restful-api"],"created_at":"2024-11-27T11:16:32.774Z","updated_at":"2026-04-18T14:33:39.082Z","avatar_url":"https://github.com/wpcodevo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Build a CRUD App with FastAPI and PyMongo\n\nIn this article, you'll learn how to build a CRUD application with FastAPI, PyMongo, and a MongoDB database. You'll have a full-fledged REST API that can accept CRUD (Create, Read, Update, and Delete) requests from an API testing tool or a frontend application.\n\n![Build a CRUD App with FastAPI and PyMongo](https://codevoweb.com/wp-content/uploads/2022/11/Build-a-CRUD-App-with-FastAPI-and-PyMongo.webp)\n\n## Topics Covered\n\n- Run the FastAPI CRUD App Locally\n- Run the Frontend App Locally\n- Setup FastAPI with PyMongo\n    - Setup MongoDB With Docker\n    - Install FastAPI and Start the HTTP Server\n- Designing the App\n- Connect the FastAPI App to MongoDB\n- Create the Request Validation Schemas\n- Create Database Serializers\n- Create the Path Operation Functions\n    - Retrieve all Documents\n    - Create a Document\n    - Update a Document\n    - Get a Document\n    - Delete a Document\n    - Complete Path Operation Functions\n- Register the Router in the FastAPI App\n\nRead the entire article here: [https://codevoweb.com/build-a-crud-app-with-fastapi-and-pymongo](https://codevoweb.com/build-a-crud-app-with-fastapi-and-pymongo)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fcrud-app-pymongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpcodevo%2Fcrud-app-pymongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpcodevo%2Fcrud-app-pymongo/lists"}