{"id":42392461,"url":"https://github.com/slayer321/flask_api_using_jwt","last_synced_at":"2026-01-28T00:22:41.709Z","repository":{"id":46671838,"uuid":"365781719","full_name":"slayer321/flask_api_using_jwt","owner":"slayer321","description":":zap: RESTFul API in Flask with JWT and Flask-SQLAlchemy and tested using Postman","archived":false,"fork":false,"pushed_at":"2024-07-16T07:36:15.000Z","size":142,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-07-16T10:00:09.954Z","etag":null,"topics":["flask","jwt","restapi"],"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/slayer321.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":"2021-05-09T15:11:34.000Z","updated_at":"2024-02-24T10:37:13.000Z","dependencies_parsed_at":"2024-07-10T09:38:12.633Z","dependency_job_id":null,"html_url":"https://github.com/slayer321/flask_api_using_jwt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slayer321/flask_api_using_jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slayer321%2Fflask_api_using_jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slayer321%2Fflask_api_using_jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slayer321%2Fflask_api_using_jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slayer321%2Fflask_api_using_jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slayer321","download_url":"https://codeload.github.com/slayer321/flask_api_using_jwt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slayer321%2Fflask_api_using_jwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28828684,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"ssl_error","status_checked_at":"2026-01-27T23:25:58.379Z","response_time":168,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["flask","jwt","restapi"],"created_at":"2026-01-28T00:22:41.061Z","updated_at":"2026-01-28T00:22:41.702Z","avatar_url":"https://github.com/slayer321.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eFlask API using JWT\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003eMade with ❤️ using python \u003c/p\u003e\n\nThis project is made using `RESTFul API in Flask` with `JWT` and `Flask-SQLAlchemey` for authentication and authorization and testing is done using Postman. To show the working example of this project I have added the `TODO` route so if the user is authorized then he can create his todo list.\n\n## :wrench: How to Install\n\n`git clone https://github.com/slayer321/flask_api_using_jwt.git` \u003cbr\u003e\n`pip install -r requirement.txt`\n\n## :memo: Working\n\n1.Using a login route the user can generate the **JWT** token which is signed by using a secret key and using that token in his header user can get access to all the info based on wheather user is admin or not.\n\n![alt text](/images/token.JPG)\n\n2.Once the user add that token to header using **x-access-token** as key if user is authorized then the user can see the info (here I have generated the token for the admin so we are able to see all the info).\n\n![alt text](/images/all_user.JPG)\n\n3.This is how we can also perform all the other CRUD operation like **PUT** , **POST** , **DELETE** .\n\n## :bookmark: Todo route\n\nUsing todo route user can easily make his todo list and it is safe from the malicous user as no unauthorized user can view another user's todo list.\n\n![alt text](/images/todo_route.JPG)\n\n## :raised_hands: Contributing\n\nThis is an open source project. Any contribution would be highly appreciated!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslayer321%2Fflask_api_using_jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslayer321%2Fflask_api_using_jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslayer321%2Fflask_api_using_jwt/lists"}