{"id":18273307,"url":"https://github.com/foryforx/ibossgo","last_synced_at":"2026-04-30T22:32:20.242Z","repository":{"id":82994173,"uuid":"173220026","full_name":"foryforx/ibossgo","owner":"foryforx","description":"golang with google oauth and postgres. Implemented in clean-architecture with sql migration.","archived":false,"fork":false,"pushed_at":"2023-02-09T20:28:53.000Z","size":12872,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-30T11:35:14.386Z","etag":null,"topics":["clean-architecture","gin","golang","mongodb","oauth2","postgres","postgresql","sql-migration"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/foryforx.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":"2019-03-01T02:19:39.000Z","updated_at":"2021-09-29T13:14:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"81f2792e-1a4c-4289-b3d3-59c00ffe372b","html_url":"https://github.com/foryforx/ibossgo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/foryforx/ibossgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foryforx%2Fibossgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foryforx%2Fibossgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foryforx%2Fibossgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foryforx%2Fibossgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foryforx","download_url":"https://codeload.github.com/foryforx/ibossgo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foryforx%2Fibossgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32479448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"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":["clean-architecture","gin","golang","mongodb","oauth2","postgres","postgresql","sql-migration"],"created_at":"2024-11-05T12:05:58.315Z","updated_at":"2026-04-30T22:32:15.232Z","avatar_url":"https://github.com/foryforx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golang with Google OAuth + postgres backend(option to move to mongo) + sql migration + clean architecture\n\nGot kick start from (https://github.com/Skarlso/goprogressquest).\n\n# Installation\n\nSimply `go get github.com/karuppaiah/golang-oauth-postgres-clean-architecture`.\n\n# Setup\nexport ENV=development\nexport DATABASE_URL=postgres://postgres@localhost:5432/ibossgo?sslmode=disable\n### Postgres ###\nexport PGHOST=localhost\nexport PGPORT=5432\nexport PGDATABASE=ibossgo\nexport PGUSER=postgres\nexport PGPASSWORD=\nexport PGSSLMODE=disable\nexport BASE_URL=localhost:9090\nexport BASE_PROTOCOL=http\n## Google\n\nIn order for the Google Authentication to work, you'll need developer credentials which the this application gathers from a file in the root directory called `creds.json`. The structure of this file should be like this:\n\n```json\n{\n  \"cid\":\"hash.apps.googleusercontent.com\",\n  \"csecret\":\"somesecrethash\"\n}\n```\n\nTo obtain these credentials, please navigate to this site and follow the procedure to setup a new project: [Google Developer Console](https://console.developers.google.com/iam-admin/projects).\n\n## Dependencies\n\nTo gather all the libraries this project uses, simply execute from the root: `go get -v ./...`\n\n# Running\n\nTo run it, simply build \u0026 run and navigate to http://127.0.0.1:9090/login, nothing else should be required.\n\n```\ngo build\n(install fresh: https://github.com/gravityblast/fresh) \nfresh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforyforx%2Fibossgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforyforx%2Fibossgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforyforx%2Fibossgo/lists"}