{"id":25012533,"url":"https://github.com/bibekaryal86/authenv-service","last_synced_at":"2026-04-28T11:33:32.569Z","repository":{"id":173779437,"uuid":"651280671","full_name":"bibekaryal86/authenv-service","owner":"bibekaryal86","description":"Generic Global Authentication and Gateway Service to Overcome CORS Errors in React SPAs","archived":false,"fork":false,"pushed_at":"2024-04-13T02:22:54.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-13T22:18:25.937Z","etag":null,"topics":["fastapi","python"],"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/bibekaryal86.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}},"created_at":"2023-06-08T22:55:47.000Z","updated_at":"2024-04-19T03:25:16.599Z","dependencies_parsed_at":"2024-04-03T03:28:32.930Z","dependency_job_id":"62979401-3f03-4124-afb2-55fee955db37","html_url":"https://github.com/bibekaryal86/authenv-service","commit_stats":null,"previous_names":["bibekaryal86/pyauth-service","bibekaryal86/authenv-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bibekaryal86/authenv-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fauthenv-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fauthenv-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fauthenv-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fauthenv-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bibekaryal86","download_url":"https://codeload.github.com/bibekaryal86/authenv-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bibekaryal86%2Fauthenv-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"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":["fastapi","python"],"created_at":"2025-02-05T06:16:42.161Z","updated_at":"2026-04-28T11:33:32.536Z","avatar_url":"https://github.com/bibekaryal86.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# authenv-service\n\nConverting https://github.com/bibekaryal86/authenticate-gateway-service to python\nDeployed to: https://authenv-service.appspot.com/authenv-service/tests/ping in google-cloud-platform\n\n# todo\n* tests\n\n# steps\n* navigate to project's root\n* setup virtual environment\n  * python -m venv venv\n* activate virtual environment\n  * Windows (Powershell):\n    * venv\\Scripts\\activate.ps1\n  * Unix: \n    * source venv/bin/activate\n* Install requirements\n  * pip install .\n  * OR, pip install -r requirements.txt -r requirements-dev.txt\n  * Both options above install all dependencies, including optional for lint/test\n  * In prod (gcp), pip install -r requirements.txt will suffice\n* create/update config file\n  * at project root:\n    * cp .env.example .env\n    * update .env with attribute values\n* run main module\n  * python src/authenv_service/main.py\n* open swagger\n  * http://localhost:8080/authenv-service/docs\n* Setup linters\n  * Install optional dependencies for lint\n    * `pip install -r requirements-dev.txt`\n    * `Flake8-pytest` is required because:\n      * `flake8` doesn't support pyproject.toml\n  * Run the lint commands (check only)\n    * `isort src -c -v`\n    * `isort tests -c -v`\n    * `black src --check`\n    * `black tests --check`\n    * `flake8 src`\n    * `flake8 tests`\n  * To fix lint errors\n    * `isort src`\n    * `isort tests`\n    * `black src`\n    * `black tests`\n* Setup tests\n  * Install optional dependencies for tests\n    * `pip install -r requirements-dev.txt`\n  * Run tests\n    * `pytest`\n\n# notes\n* when running from Pycharm:\n  * script path: \u003cPROJECT_ROOT\u003e\\src\\authenv_service\\main.py\n  * working directory: \u003cPROJECT_ROOT\u003e\n\n# google cloud platform\n* gcp requires requirements.txt file for python applications\n* hence moved dependencies from pyproject.toml to requirements.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbibekaryal86%2Fauthenv-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbibekaryal86%2Fauthenv-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbibekaryal86%2Fauthenv-service/lists"}