{"id":25005012,"url":"https://github.com/johnsalazar/microservices-go-authentication","last_synced_at":"2025-04-12T14:07:35.089Z","repository":{"id":171700891,"uuid":"648298414","full_name":"JohnSalazar/microservices-go-authentication","owner":"JohnSalazar","description":"Authentication service. Part of an e-commerce built in Golang.","archived":false,"fork":false,"pushed_at":"2023-12-18T20:23:05.000Z","size":105,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T08:47:30.601Z","etag":null,"topics":["assymetric-key-cryptography","clean-code","discovery-service","docker","golang","grpc","hexagonal-architecture","jwt-token","kubernetes","metrics","microservices","nats","nosql","rest-api","security","solid","telemetry"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JohnSalazar.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}},"created_at":"2023-06-01T16:39:47.000Z","updated_at":"2025-03-13T16:41:40.000Z","dependencies_parsed_at":"2024-01-01T10:09:35.840Z","dependency_job_id":"d49edd4c-5ff0-4f59-85b1-0a2f961f5db9","html_url":"https://github.com/JohnSalazar/microservices-go-authentication","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"ddaaf1acece4659c4ba092e4ef2b2e645e3fe788"},"previous_names":["johnsalazar/microservices-go-authentication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSalazar%2Fmicroservices-go-authentication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSalazar%2Fmicroservices-go-authentication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSalazar%2Fmicroservices-go-authentication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JohnSalazar%2Fmicroservices-go-authentication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JohnSalazar","download_url":"https://codeload.github.com/JohnSalazar/microservices-go-authentication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248578866,"owners_count":21127713,"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":["assymetric-key-cryptography","clean-code","discovery-service","docker","golang","grpc","hexagonal-architecture","jwt-token","kubernetes","metrics","microservices","nats","nosql","rest-api","security","solid","telemetry"],"created_at":"2025-02-05T00:09:49.724Z","updated_at":"2025-04-12T14:07:35.063Z","avatar_url":"https://github.com/JohnSalazar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Microservices in Golang - Authentication**\n\n## Languages\n\n- Golang\n\n---\n\n## Implementations\n\n- Self-signed Certificates\n- API Documentation\n- JWT with Public/Private Key Rotation\n- Refresh Token\n- Rest\n- GRPC\n- Events\n- Background Services\n- Discovery Service\n- Telemetry\n- Metrics\n\n---\n\n## Testing\n\n- Unit and Integration\n- Coverage\n\n---\n\n## Components\n\n- Viper\n- UUID\n- Validator\n- Gin\n- Breaker\n- Retrier\n- Cryptography\n- Mongo\n- Prometheus\n- Otel\n- Jaeger\n- Consul\n- Nats\n- Swagger UI with JWT support\n\n---\n\n## Hosting\n\n- NGINX\n- Docker\n- Kubernetes\n\n---\n\n## Architecture\n\n- Ports and Adapters (Hexagonal Architecture)\n- Clean Code\n- Retry Pattern\n- Circuit Breaker\n- Repository\n- Api Gateway / Reverse Proxy\n\n###\n\n## Architecture Overview\n\n\u003cp align=\"center\"\u003e\n    \u003cimg alt=\"architecture overview\" src=\"https://github.com/JohnSalazar/microservices-go-authentication/assets/16736914/c4c0aac9-8e2c-4d69-993e-fe72218ee75d\" /\u003e\n\u003c/p\u003e\n\n---\n\n## List of Services\n\n### This service is part 1/8 of the e-commerce application\n\n- **Authentication**\n- [Email](https://github.com/JohnSalazar/microservices-go-email)\n- [Customer](https://github.com/JohnSalazar/microservices-go-customer)\n- [Product](https://github.com/JohnSalazar/microservices-go-product)\n- [Cart](https://github.com/JohnSalazar/microservices-go-cart)\n- [Order](https://github.com/JohnSalazar/microservices-go-order)\n- [Payment](https://github.com/JohnSalazar/microservices-go-payment)\n- [Web](https://github.com/JohnSalazar/microservices-go-web)\n\n---\n\n## How to build this project\n\n### Access the Infra repository and follow the instructions\n\n- [Infra](https://github.com/JohnSalazar/microservices-go-infra)\n\n---\n\n## About\n\nAuthentication service was developed by [oceano.dev](https://oceano.dev/) \u003cimg alt=\"Brasil\" src=\"https://github.com/JohnSalazar/microservices-go-authentication/assets/16736914/3ecb04fb-b2ce-4e8b-b492-99c5c5c4b317\" width=\"20\" height=\"14\" /\u003e team under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnsalazar%2Fmicroservices-go-authentication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnsalazar%2Fmicroservices-go-authentication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnsalazar%2Fmicroservices-go-authentication/lists"}