{"id":18724566,"url":"https://github.com/fastapi-users/fastapi-users-db-mongodb","last_synced_at":"2026-03-27T04:51:00.739Z","repository":{"id":57428526,"uuid":"400498791","full_name":"fastapi-users/fastapi-users-db-mongodb","owner":"fastapi-users","description":"FastAPI Users - Database adapter for MongoDB","archived":false,"fork":false,"pushed_at":"2024-09-19T04:52:30.000Z","size":27,"stargazers_count":4,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-26T10:11:33.076Z","etag":null,"topics":["fastapi-users"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastapi-users.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"frankie567"}},"created_at":"2021-08-27T12:17:07.000Z","updated_at":"2024-08-06T22:14:35.000Z","dependencies_parsed_at":"2022-09-02T15:31:59.789Z","dependency_job_id":null,"html_url":"https://github.com/fastapi-users/fastapi-users-db-mongodb","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-users%2Ffastapi-users-db-mongodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-users%2Ffastapi-users-db-mongodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-users%2Ffastapi-users-db-mongodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastapi-users%2Ffastapi-users-db-mongodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastapi-users","download_url":"https://codeload.github.com/fastapi-users/fastapi-users-db-mongodb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248589741,"owners_count":21129678,"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":["fastapi-users"],"created_at":"2024-11-07T14:07:08.982Z","updated_at":"2026-03-27T04:51:00.694Z","avatar_url":"https://github.com/fastapi-users.png","language":"Python","readme":"# FastAPI Users - Database adapter for MongoDB\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/frankie567/fastapi-users/master/logo.svg?sanitize=true\" alt=\"FastAPI Users\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cem\u003eReady-to-use and customizable users management for FastAPI\u003c/em\u003e\n\u003c/p\u003e\n\n[![build](https://github.com/fastapi-users/fastapi-users-db-mongodb/workflows/Build/badge.svg)](https://github.com/fastapi-users/fastapi-users/actions)\n[![codecov](https://codecov.io/gh/fastapi-users/fastapi-users-db-mongodb/branch/master/graph/badge.svg)](https://codecov.io/gh/fastapi-users/fastapi-users-db-mongodb)\n[![PyPI version](https://badge.fury.io/py/fastapi-users-db-mongodb.svg)](https://badge.fury.io/py/fastapi-users-db-mongodb)\n[![Downloads](https://pepy.tech/badge/fastapi-users-db-mongodb)](https://pepy.tech/project/fastapi-users-db-mongodb)\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/sponsors/frankie567\"\u003e\u003cimg src=\"https://md-btn.deta.dev/button.svg?text=Buy%20me%20a%20coffee%20%E2%98%95%EF%B8%8F\u0026bg=ef4444\u0026w=200\u0026h=50\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n**Documentation**: \u003ca href=\"https://fastapi-users.github.io/fastapi-users/\" target=\"_blank\"\u003ehttps://fastapi-users.github.io/fastapi-users/\u003c/a\u003e\n\n**Source Code**: \u003ca href=\"https://github.com/fastapi-users/fastapi-users\" target=\"_blank\"\u003ehttps://github.com/fastapi-users/fastapi-users\u003c/a\u003e\n\n---\n\nAdd quickly a registration and authentication system to your [FastAPI](https://fastapi.tiangolo.com/) project. **FastAPI Users** is designed to be as customizable and adaptable as possible.\n\n**Sub-package for MongoDB support in FastAPI Users.**\n\n## Development\n\n### Setup environment\n\nYou should create a virtual environment and activate it:\n\n```bash\npython -m venv venv/\n```\n\n```bash\nsource venv/bin/activate\n```\n\nAnd then install the development dependencies:\n\n```bash\npip install -r requirements.dev.txt\n```\n\n### Run unit tests\n\nYou can run all the tests with:\n\n```bash\nmake test\n```\n\nThe command will start a MongoDB container for the related unit tests. So you should have [Docker](https://www.docker.com/get-started) installed.\n\nAlternatively, you can run `pytest` yourself:\n\n```bash\npytest\n```\n\nThere are quite a few unit tests, so you might run into ulimit issues where there are too many open file descriptors. You may be able to set a new, higher limit temporarily with:\n\n```bash\nulimit -n 2048\n```\n\n### Format the code\n\nExecute the following command to apply `isort` and `black` formatting:\n\n```bash\nmake format\n```\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n","funding_links":["https://github.com/sponsors/frankie567"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastapi-users%2Ffastapi-users-db-mongodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastapi-users%2Ffastapi-users-db-mongodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastapi-users%2Ffastapi-users-db-mongodb/lists"}