{"id":25026629,"url":"https://github.com/pasan1/simple-fastapi-user-authentication","last_synced_at":"2025-03-30T16:27:16.351Z","repository":{"id":177685776,"uuid":"660762243","full_name":"pasan1/Simple-FastAPI-User-Authentication","owner":"pasan1","description":"Simple FastAPI User Authentication without database","archived":false,"fork":false,"pushed_at":"2023-06-30T19:36:34.000Z","size":4,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T18:06:48.494Z","etag":null,"topics":["api-authentication","authenticate","authentication","fastapi","python","token","user-authentication"],"latest_commit_sha":null,"homepage":"","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/pasan1.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":"2023-06-30T19:27:23.000Z","updated_at":"2024-12-03T12:01:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"704da334-c4ea-4330-a89a-a60787ca9bbe","html_url":"https://github.com/pasan1/Simple-FastAPI-User-Authentication","commit_stats":null,"previous_names":["pasan1/simple-fastapi-user-authentication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasan1%2FSimple-FastAPI-User-Authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasan1%2FSimple-FastAPI-User-Authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasan1%2FSimple-FastAPI-User-Authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pasan1%2FSimple-FastAPI-User-Authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pasan1","download_url":"https://codeload.github.com/pasan1/Simple-FastAPI-User-Authentication/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246345664,"owners_count":20762427,"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-authentication","authenticate","authentication","fastapi","python","token","user-authentication"],"created_at":"2025-02-05T17:48:46.264Z","updated_at":"2025-03-30T16:27:16.347Z","avatar_url":"https://github.com/pasan1.png","language":"Python","readme":"# Authenticate Users with FastAPI and Token Authentication\n\n## Introduction\n\nThis is a simple project to demonstrate how to use FastAPI with OAuth2 and JWT.\n\n## Requirements\n\n### Create a virtual environment\n```\npython -m venv venv\n```\n\n### Activate the virtual environment\n```\nsource venv/bin/activate\n```\n\n### Install the requirements\n```\npip install fastapi\npip install uvicorn[standard]\npip install python-multipart\npip install python-jose[cryptography]\npip install passlib[bcrypt]\n```\n\n## Generate a secret key\n```\nopenssl rand -hex 32\n```\n\n## Run the application\n```\nuvicorn main:app --reload\n```\n\n## Test the application\n```\nhttp://localhost:8000/docs\n```\n\n## References\n\n- [Youtube](https://youtu.be/5GxQ1rLTwaU)\n\n```\n\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasan1%2Fsimple-fastapi-user-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpasan1%2Fsimple-fastapi-user-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpasan1%2Fsimple-fastapi-user-authentication/lists"}