{"id":30799022,"url":"https://github.com/masterpiece93/gsheetpoc","last_synced_at":"2026-05-14T20:03:25.265Z","repository":{"id":313018138,"uuid":"1049645360","full_name":"masterPiece93/gsheetPoc","owner":"masterPiece93","description":"POC : connecting to google sheets in a web application and performing operations on it .","archived":false,"fork":false,"pushed_at":"2025-09-07T15:52:03.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-10T05:35:49.435Z","etag":null,"topics":["django","django-application","djnago-project","google-oauth2","google-python-api","google-sheets","google-sheets-api-v4","oauth2","p-o-c"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/masterPiece93.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-03T09:33:38.000Z","updated_at":"2025-09-07T15:52:06.000Z","dependencies_parsed_at":"2025-09-03T13:18:41.235Z","dependency_job_id":null,"html_url":"https://github.com/masterPiece93/gsheetPoc","commit_stats":null,"previous_names":["masterpiece93/gsheetpoc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/masterPiece93/gsheetPoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterPiece93%2FgsheetPoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterPiece93%2FgsheetPoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterPiece93%2FgsheetPoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterPiece93%2FgsheetPoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masterPiece93","download_url":"https://codeload.github.com/masterPiece93/gsheetPoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masterPiece93%2FgsheetPoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33041205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["django","django-application","djnago-project","google-oauth2","google-python-api","google-sheets","google-sheets-api-v4","oauth2","p-o-c"],"created_at":"2025-09-05T19:02:45.399Z","updated_at":"2026-05-14T20:03:25.246Z","avatar_url":"https://github.com/masterPiece93.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gsheets POC\nThis deals with poc on google sheets access and manipulation in a web application ( client-server architechture ) .\n\nIt also demonstrates the Google Oauth2 authentication in such a setup .\n\n| `Djnago` | `python` | `sqlite` | \n\n### Running server :\n\n```sh\n# using Makefile\nmake runserver\n```\n\n```sh\n# manually\npython3 manage.py runserver localhost:5000\n```\n\n### On Browser :\n- `/` points to base path points to gsheets app .\n    - `/sheet/api` points to api specific enpoints .\n- `/auth` points to gauth app .\n- `/admin` points to django admin .\n    - admin panel credentials :\n        - **username** : _admin_\n        - **password** : _admin_\n        \n        If credential not set , generate them by running command ( on terminal/shell/cmd ): \n        ```sh\n        python3 manage.py createsuperuser\n        ```\n---\n\n#### TODO :\n\n- when we add google sheet's sharable url , `gid` is not included in it , hence , if we select GID option , it'll give error , hence we can add an enhencement ( already part of office project )\n    - replace `extract_id_gid` function with a `validate_sheet_url` function and when gid is not \n        available , hence, operate accordingly \n---\n\n#### Notes on GIT\n\n##### Globally \n\u003e git config --global credential.helper 'cache --timeout=3600'\n\n##### Locally \n\u003e git config credential.helper 'cache --timeout=3600'\n\nNOTE : \n```\nGit credentials.helper `cache` option stores credentials in running process's memory .\nFor e.g:\n    If you are operating GIT commands on Terminal/cmd , then these\n    command stores the credentials in the memory of that terminal/cmd\n    process .\n    Once you exit that process , the `cache` is lost .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterpiece93%2Fgsheetpoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasterpiece93%2Fgsheetpoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasterpiece93%2Fgsheetpoc/lists"}