{"id":36858740,"url":"https://github.com/noted-eip/accounts-service","last_synced_at":"2026-01-12T14:48:13.658Z","repository":{"id":38382051,"uuid":"481720492","full_name":"noted-eip/accounts-service","owner":"noted-eip","description":"Service responsible for managing accounts and authentication","archived":false,"fork":false,"pushed_at":"2024-01-18T20:21:24.000Z","size":14520,"stargazers_count":0,"open_issues_count":19,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-01-19T17:08:53.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/noted-eip.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","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}},"created_at":"2022-04-14T19:08:47.000Z","updated_at":"2024-01-19T17:08:53.785Z","dependencies_parsed_at":"2023-11-16T13:44:45.625Z","dependency_job_id":"cbd77d54-cf42-4663-a16a-edc146085dd5","html_url":"https://github.com/noted-eip/accounts-service","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/noted-eip/accounts-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Faccounts-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Faccounts-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Faccounts-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Faccounts-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/noted-eip","download_url":"https://codeload.github.com/noted-eip/accounts-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/noted-eip%2Faccounts-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28340410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-12T14:48:12.384Z","updated_at":"2026-01-12T14:48:13.620Z","avatar_url":"https://github.com/noted-eip.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Accounts service\n\nService responsible for managing accounts and authentication.\n\n## Build\n\nTo run the service you only need to have [golang](https://go.dev) or [docker](https://docs.docker.com/get-docker/) installed.\n\nAfter cloning the repository run:\n\n```\nmake update-submodules\n```\nThis will update the git submodules referencing our gRPC models and gRPC API definition.\n\n\nYou can then build the project by running the following command :\n\n```\nmake re\n```\n\nOr by building and running the Dockerfile.\n\n## Configuration\n### CLI configuration\n\n| Env Name                           | Flag Name           | Default                     | Description                               |\n|------------------------------------|---------------------|-----------------------------|-------------------------------------------|\n| `ACCOUNTS_SERVICE_PORT`            | `--port`            | `3000`                      | The port the application shall listen on. |\n| `ACCOUNTS_SERVICE_ENV`             | `--env`             | `production`                | Either `production` or `development`.     |\n| `ACCOUNTS_SERVICE_MONGO_URI`       | `--mongo-uri`       | `mongodb://localhost:27017` | Address of the MongoDB server.            |\n| `ACCOUNTS_SERVICE_MONGO_DB_NAME`   | `--mongo-db-name`   | `accounts-service`          | Name of the Mongo database.               |\n| `ACCOUNTS_SERVICE_JWT_PRIVATE_KEY` | `--jwt-private-key` | -                           | Base64 encoded ed25519 private key.       |\n| `ACCOUNTS_SERVICE_GMAIL_SUPER_SECRET`   | `--gmail-super-secret`   |         | Gmail secret to send emails.               |\n| `ACCOUNTS_SERVICE_ACCOUNT_SERVICE_URL`   | `--account-service-url`   | `notes.noted.koyeb:3000`          | Notes service's address               |\n\n### Other env variables\n\n| Env Name                           | Description                               |\n|------------------------------------|-------------------------------------------|\n| `JSON_FIREBASE_CREDS_B64`            | Firebase credentials used to connect to converted in base 64  |\n| `GOOGLE_SECRET_AUTH`            | Google secret used to use for OAuth2|\n| `FIREBASE_PROJECT_NB`            | Firebase project number identifier|\n\n\n## Authentication\n\nThe accounts service expects the `Authorization` header to be set to a Bearer JWT on requests that require authentication.\n\n```\nAuthorization: Bearer \u003ctoken\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoted-eip%2Faccounts-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoted-eip%2Faccounts-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoted-eip%2Faccounts-service/lists"}