{"id":15074383,"url":"https://github.com/caiodgallo/granite-identity","last_synced_at":"2026-01-31T07:32:36.794Z","repository":{"id":254515894,"uuid":"846667650","full_name":"CaioDGallo/granite-identity","owner":"CaioDGallo","description":"Granite Account is a Go-based application designed to demonstrate production-grade patterns for an account management system in a fintech environment.","archived":false,"fork":false,"pushed_at":"2024-09-04T14:40:39.000Z","size":77046,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T12:15:18.725Z","etag":null,"topics":["docker","go","golang","grpc","postgresql"],"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/CaioDGallo.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}},"created_at":"2024-08-23T17:37:12.000Z","updated_at":"2024-09-04T14:40:43.000Z","dependencies_parsed_at":"2024-08-24T01:25:36.417Z","dependency_job_id":"5c4597f2-85ac-4df2-b1b7-b87a29825e9d","html_url":"https://github.com/CaioDGallo/granite-identity","commit_stats":{"total_commits":18,"total_committers":1,"mean_commits":18.0,"dds":0.0,"last_synced_commit":"6a764d10849f540ca838310b32cc0578d16d0f59"},"previous_names":["caiodgallo/granite-identity"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaioDGallo%2Fgranite-identity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaioDGallo%2Fgranite-identity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaioDGallo%2Fgranite-identity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CaioDGallo%2Fgranite-identity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CaioDGallo","download_url":"https://codeload.github.com/CaioDGallo/granite-identity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243864822,"owners_count":20360360,"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":["docker","go","golang","grpc","postgresql"],"created_at":"2024-09-25T03:32:44.386Z","updated_at":"2026-01-31T07:32:36.752Z","avatar_url":"https://github.com/CaioDGallo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Granite Account\n\n![Granite Account Banner](./docs/assets/granite-logo.png)\n\n![License](https://img.shields.io/github/license/CaioDGallo/go-ama)\n\nGranite Account is a Go-based application designed to demonstrate production-grade patterns for an account management system in a fintech environment. The project focuses on building a robust, scalable architecture with a clear emphasis on reliability, traceability, and secure communication.\n\n## Key Features\n\n- **Traceable Requests:** Requests are tagged with unique request IDs, enabling end-to-end traceability across services for debugging and monitoring purposes.\n- **Logger Middleware:** Integrated logging middleware captures every request and response, providing valuable insights for audit trails and system health checks.\n- **ACID-Compliant Transactions:** Ensures that all database operations adhere to the ACID principles, guaranteeing consistency and reliability in transaction handling.\n- **Client-Server Communication:** Employs JSON for simple and flexible communication between clients and the application.\n- **Service-to-Service Communication:** Utilizes gRPC for high-performance, type-safe communication between microservices.\n\n## Next Steps\n\n- **Testing:** Add unit and integration tests to the application.\n- **Rate Limiting:** Implementing rate limiting to control the flow of incoming requests, ensuring fair usage and preventing abuse.\n- **Circuit Breaking:** Adding a circuit breaker pattern to enhance system resilience by gracefully handling potential service failures.\n\n## Installation\n\nTo set up the project locally:\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/your-username/granite-account.git\n   cd granite-account\n   ```\n\n2. **Build the project using the Docker Compose:**\n   ```bash\n   docker compose up --build\n   ```\n\n3. **Access the application:**\n   The application should be running on `http://localhost:8080`.\n\n## Usage\n\n- **REST API:** Granite Account exposes a RESTful API for client communication, using JSON as the data format.\n- **gRPC Services:** Microservices interact using gRPC, ensuring efficient and scalable service-to-service communication.\n- **Request Logging:** Every request is logged along with its unique request ID, making it easy to track and troubleshoot issues.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit issues, fork the repository, and open pull requests.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for more details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiodgallo%2Fgranite-identity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaiodgallo%2Fgranite-identity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaiodgallo%2Fgranite-identity/lists"}