{"id":15861500,"url":"https://github.com/gr3yknigh1/users-api","last_synced_at":"2025-10-17T13:30:32.267Z","repository":{"id":197068669,"uuid":"697702471","full_name":"gr3yknigh1/users-api","owner":"gr3yknigh1","description":"Some users API written in FastAPI","archived":true,"fork":false,"pushed_at":"2023-09-29T12:27:15.000Z","size":38,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2024-10-27T04:48:11.874Z","etag":null,"topics":["fastapi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gr3yknigh1.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}},"created_at":"2023-09-28T09:48:43.000Z","updated_at":"2023-10-10T07:18:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"ec5ca57f-59b5-4422-86ac-46adb1f11693","html_url":"https://github.com/gr3yknigh1/users-api","commit_stats":null,"previous_names":["gr3yknigh1/users-api"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr3yknigh1%2Fusers-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr3yknigh1%2Fusers-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr3yknigh1%2Fusers-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gr3yknigh1%2Fusers-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gr3yknigh1","download_url":"https://codeload.github.com/gr3yknigh1/users-api/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236821820,"owners_count":19210372,"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"],"created_at":"2024-10-05T22:02:13.491Z","updated_at":"2025-10-17T13:30:26.960Z","avatar_url":"https://github.com/gr3yknigh1.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Users API\n\nSome users API written in FastAPI\n\n\u003e Note: Project was tested only with Podman (instead of Docker)\n\n## Stack\n\n* FastAPI (uvicorn)\n* PostgresSQL\n* SQLAlchemy\n\n## Usage\n\nCheckout docs at `\u003cUSERS_API_HOST\u003e:\u003cUSERS_API_PORT\u003e/docs` for API details\n\n## Configuration\n\nSample `.env` file (`./examples/dotenv`)\n\n```env\n\n# Sample Dotenv file\n\nUSERS_API_HOST=0.0.0.0\nUSERS_API_PORT=8000\nUSERS_API_LOG_LEVEL=DEBUG\n\nPOSTGRES_USER=users_api\nPOSTGRES_PASSWORD=pass\nPOSTGRES_ADDR=172.17.0.1\nPOSTGRES_PORT=5432\nPOSTGRES_DB=users\n\n```\n\n## Run\n\nYou need to setup environment variables in order to start server. You can use `examples/dotenv` for that.\n\n\u003e Note: You can copy `./examples/dotenv` to `./.env` for testing\n\n```shell\ndocker compose up\n```\n\n## Build\n\n* Docker image\n\n```shell\ndocker build . --tag \u003cimage-name\u003e\n```\n\n* Python wheel\n\n(See `dist/` directory)\n\n```shell\nmake upgrade-buildsystem build\n```\n\nOr just\n\n```shell\npython3 -m pip install \\\n    --upgrade pip\npython3 -m pip install \\\n    --upgrade setuptools \\\n    --upgrade setuptools-git-versioning \\\n    --upgrade wheel \\\n    --upgrade build\npython3 -m build\n```\n\n## Development setup\n\n* Automatic\n\n```shell\nmake setup\n```\n\n* Manual (make sure use to `virtualenv`)\n\n```shell\npython3 -m pip install -r dev-requirements.txt\npre-commit install\npython3 -m pip install -e .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgr3yknigh1%2Fusers-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgr3yknigh1%2Fusers-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgr3yknigh1%2Fusers-api/lists"}