{"id":15009750,"url":"https://github.com/basemax/fastapismsauth","last_synced_at":"2025-04-09T17:51:37.709Z","repository":{"id":151535323,"uuid":"593138786","full_name":"BaseMax/FastAPISMSAuth","owner":"BaseMax","description":"This is a simple example of how to use Python FastAPI to create a simple authentication system based on phone number with SMS verification. We used SQLite as a database. (Login, Register, Auth, Panel, Whoiam, Hi)","archived":false,"fork":false,"pushed_at":"2023-01-25T20:07:30.000Z","size":46,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T04:03:12.625Z","etag":null,"topics":["api","fastapi","fastapi-api","fastapi-auth","fastapi-crud","fastapi-example","fastapi-json","fastapi-sample","fastapi-users","py","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BaseMax.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}},"created_at":"2023-01-25T10:29:40.000Z","updated_at":"2024-08-16T09:47:21.000Z","dependencies_parsed_at":"2023-07-10T14:00:34.471Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/FastAPISMSAuth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FFastAPISMSAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FFastAPISMSAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FFastAPISMSAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2FFastAPISMSAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/FastAPISMSAuth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248083138,"owners_count":21045049,"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":["api","fastapi","fastapi-api","fastapi-auth","fastapi-crud","fastapi-example","fastapi-json","fastapi-sample","fastapi-users","py","python"],"created_at":"2024-09-24T19:28:18.670Z","updated_at":"2025-04-09T17:51:37.693Z","avatar_url":"https://github.com/BaseMax.png","language":"Python","readme":"# Fast API SMS Authentication\r\n\r\nThis is a simple example of how to use FastAPI to create a simple authentication system based on phone number with SMS verification. We used SQLite as a database. (Login, Register, Auth, Panel, Whoiam, Hi)\r\n\r\n## Routes\r\n\r\n- `/register`: Register a new user (name, phone number, city)\r\n- `/login`: Login with phone number\r\n- `/auth`: Authenticate with verification code\r\n- `/panel`: Get user info\r\n- `/whoiam`: Get user role\r\n- `/hi`: Hi\r\n\r\n### FastAPI\r\n\r\nFastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.\r\n\r\n## How to run\r\n\r\n```bash\r\n$ uvicorn main:app --reload\r\n```\r\n\r\n## How to test\r\n\r\n```bash\r\n$ python test.py\r\n```\r\n\r\n## How to debug\r\n\r\n```bash\r\n$ python print-db.py\r\n```\r\n\r\nCopyright (c) 2022, Max Base\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Ffastapismsauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Ffastapismsauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Ffastapismsauth/lists"}