{"id":21191322,"url":"https://github.com/hasanisaeed/django-grpc-example","last_synced_at":"2025-07-10T02:32:51.374Z","repository":{"id":45926402,"uuid":"432467052","full_name":"hasanisaeed/django-grpc-example","owner":"hasanisaeed","description":"Djagno grpc authentication service with jwt auth","archived":false,"fork":false,"pushed_at":"2023-12-15T02:42:22.000Z","size":45,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-12-15T03:53:58.675Z","etag":null,"topics":["django","django-grpc","grpc","jwt","jwt-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/hasanisaeed.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}},"created_at":"2021-11-27T13:22:16.000Z","updated_at":"2023-11-09T19:13:16.000Z","dependencies_parsed_at":"2023-01-19T22:15:39.009Z","dependency_job_id":null,"html_url":"https://github.com/hasanisaeed/django-grpc-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanisaeed%2Fdjango-grpc-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanisaeed%2Fdjango-grpc-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanisaeed%2Fdjango-grpc-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasanisaeed%2Fdjango-grpc-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasanisaeed","download_url":"https://codeload.github.com/hasanisaeed/django-grpc-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225615193,"owners_count":17496942,"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":["django","django-grpc","grpc","jwt","jwt-authentication"],"created_at":"2024-11-20T19:02:24.708Z","updated_at":"2024-11-20T19:02:24.925Z","avatar_url":"https://github.com/hasanisaeed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Django gRPC authentication service\n___\n\n#### STEP 1: Install packages\n```pip install -r requirements.txt```\n#### STEP 2: Make migrations and migrate\n```python\npython manage.py makemigrations\npython manage.py migrate\n```\n#### STEP 3: Generate proto files\n```python \npython manage.py generateproto --model account.models.User  --file proto/user/user.proto\npython manage.py generateproto --model account.models.Book  --file proto/book/book.proto\n```\n\n#### STEP 4: Generate gRPC code\n```python \npython -m grpc_tools.protoc -I ./  --python_out=./ --grpc_python_out=./ ./proto/auth.proto\npython -m grpc_tools.protoc -I ./  --python_out=./ --grpc_python_out=./ ./proto/user.proto\npython -m grpc_tools.protoc -I ./  --python_out=./ --grpc_python_out=./ ./proto/book.proto\n```\n\n#### STEP 5: Run server\n```python\npython manage.py grpcrunserver\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanisaeed%2Fdjango-grpc-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasanisaeed%2Fdjango-grpc-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasanisaeed%2Fdjango-grpc-example/lists"}