{"id":23129831,"url":"https://github.com/mayankdiwate/fastapi-rbac-admin","last_synced_at":"2026-04-04T22:34:16.236Z","repository":{"id":264639447,"uuid":"893937171","full_name":"MayankDiwate/FastAPI-RBAC-Admin","owner":"MayankDiwate","description":"A FastAPI application with user authentication, registration, and token-based authorization using PostgreSQL.","archived":false,"fork":false,"pushed_at":"2024-11-25T13:30:21.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T06:41:44.000Z","etag":null,"topics":["docker","docker-compose","fastapi","jwt","postgresql","python3"],"latest_commit_sha":null,"homepage":"https://fastapi-rbac-admin.onrender.com","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/MayankDiwate.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":"2024-11-25T13:21:20.000Z","updated_at":"2024-11-25T13:33:17.000Z","dependencies_parsed_at":"2024-11-25T16:15:28.799Z","dependency_job_id":null,"html_url":"https://github.com/MayankDiwate/FastAPI-RBAC-Admin","commit_stats":null,"previous_names":["mayankdiwate/fastapi-rbac-admin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MayankDiwate/FastAPI-RBAC-Admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayankDiwate%2FFastAPI-RBAC-Admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayankDiwate%2FFastAPI-RBAC-Admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayankDiwate%2FFastAPI-RBAC-Admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayankDiwate%2FFastAPI-RBAC-Admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MayankDiwate","download_url":"https://codeload.github.com/MayankDiwate/FastAPI-RBAC-Admin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayankDiwate%2FFastAPI-RBAC-Admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","docker-compose","fastapi","jwt","postgresql","python3"],"created_at":"2024-12-17T10:10:59.650Z","updated_at":"2026-04-04T22:34:16.185Z","avatar_url":"https://github.com/MayankDiwate.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastAPI RBAC\n\nThis is a FastAPI-based application that provides user authentication and management features. It includes endpoints for user registration, signing in, and signing out, utilizing secure token-based authentication.\n\n## Features\n- **User Registration**: Register new users with unique usernames.\n- **User Login**: Authenticate users and issue JWT tokens.\n- **User Logout**: Simulated sign-out for token-based systems.\n\n## Requirements\n- Python 3.10 or higher\n- FastAPI\n- SQLAlchemy\n- Uvicorn\n- Any additional dependencies (see `requirements.txt`)\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone git@github.com:MayankDiwate/FastAPI-RBAC-Admin.git\n   cd \u003crepository-folder\u003e\n   ```\n\n2. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Run the application:\n   ```bash\n   uvicorn main:app --host 0.0.0.0 --port 8000\n   ```\n\n4. Access the application at:\n   ```\n   http://localhost:8000/docs\n   ```\n\n## Docker Support\n\nTo build and run the application in a Docker container:\n\n1. Build the Docker image:\n   ```bash\n   docker build -t fastapi-app .\n   ```\n\n2. Run the Docker container:\n   ```bash\n   docker run -p 8000:8000 fastapi-app\n   ```\n\n3. Access the application at:\n   ```\n   http://localhost:8000/docs\n   ```\n\n## Usage\n- Use the `/register` endpoint to create a new user.\n- Authenticate with the `/sign-in` endpoint to obtain a JWT token.\n- Test APIs with the interactive Swagger UI at `/docs`.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayankdiwate%2Ffastapi-rbac-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayankdiwate%2Ffastapi-rbac-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayankdiwate%2Ffastapi-rbac-admin/lists"}