{"id":18398666,"url":"https://github.com/mongodb-developer/pymongo-fastapi-crud","last_synced_at":"2025-07-27T18:04:09.842Z","repository":{"id":37555985,"uuid":"467639401","full_name":"mongodb-developer/pymongo-fastapi-crud","owner":"mongodb-developer","description":"PyMongo with FastAPI CRUD application","archived":false,"fork":false,"pushed_at":"2023-11-14T21:10:11.000Z","size":11,"stargazers_count":145,"open_issues_count":6,"forks_count":54,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-07T19:21:12.855Z","etag":null,"topics":["crud","fastapi","mongodb","pymongo"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb-developer.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-03-08T18:58:06.000Z","updated_at":"2025-03-27T19:59:56.000Z","dependencies_parsed_at":"2025-07-27T18:03:39.791Z","dependency_job_id":null,"html_url":"https://github.com/mongodb-developer/pymongo-fastapi-crud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mongodb-developer/pymongo-fastapi-crud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fpymongo-fastapi-crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fpymongo-fastapi-crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fpymongo-fastapi-crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fpymongo-fastapi-crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb-developer","download_url":"https://codeload.github.com/mongodb-developer/pymongo-fastapi-crud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb-developer%2Fpymongo-fastapi-crud/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267399991,"owners_count":24081176,"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-07-27T02:00:11.917Z","response_time":82,"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","fastapi","mongodb","pymongo"],"created_at":"2024-11-06T02:23:48.709Z","updated_at":"2025-07-27T18:04:09.837Z","avatar_url":"https://github.com/mongodb-developer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![main workflow](https://github.com/mongodb-developer/pymongo-fastapi-crud/actions/workflows/main.yml/badge.svg)\n\n# PyMongo with FastAPI CRUD application\n\nThis is a simple CRUD application built using PyMongo and FastAPI. You can also follow the step-by-step [tutorial](https://www.mongodb.com/languages/python/pymongo-tutorial) for building this application.\n\n## Running the server\n\nSet your [Atlas URI connection string](https://docs.atlas.mongodb.com/getting-started/) as a parameter in `.env`. Make sure you replace the username and password placeholders with your own credentials.\n\n```\nATLAS_URI=mongodb+srv://\u003cusername\u003e:\u003cpassword\u003e@sandbox.jadwj.mongodb.net\nDB_NAME=pymongo_tutorial\n```\n\nInstall the required dependencies:\n\n```\npython -m pip install -r requirements.txt\n```\n\nStart the server:\n```\npython -m uvicorn main:app --reload\n```\n\nWhen the application starts, navigate to `http://localhost:8000/docs` and try out the `book` endpoints.\n\n## Running the tests\n\nInstall `pytest`:\n\n```\npython -m pip install pytest\n```\n\nExecute the tests:\n\n```\npython -m pytest\n```\n\n## Disclaimer\n\nUse at your own risk; not a supported MongoDB product\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb-developer%2Fpymongo-fastapi-crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb-developer%2Fpymongo-fastapi-crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb-developer%2Fpymongo-fastapi-crud/lists"}