{"id":34209693,"url":"https://github.com/patricksferraz/time-record-service","last_synced_at":"2026-04-08T20:05:49.907Z","repository":{"id":292222002,"uuid":"387938480","full_name":"patricksferraz/time-record-service","owner":"patricksferraz","description":"A modern time record management service built with Go, featuring gRPC/REST APIs, event-driven architecture with Kafka, and comprehensive monitoring using Elastic APM. Perfect for HR systems and time tracking applications.","archived":false,"fork":false,"pushed_at":"2025-05-10T15:35:01.000Z","size":272,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-12-19T01:16:23.286Z","etag":null,"topics":["api-gateway","clean-architecture","distributed-systems","docker","elastic-apm","event-driven","go","golang","grpc","hr-system","kafka","kubernetes","microservices","monitoring","observability","openapi","postgresql","rest-api","swagger","time-tracking"],"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/patricksferraz.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-07-20T23:37:05.000Z","updated_at":"2025-05-10T15:35:04.000Z","dependencies_parsed_at":"2025-05-08T19:32:15.304Z","dependency_job_id":"20d50e0c-7c78-46ea-af55-16cc8d26cd85","html_url":"https://github.com/patricksferraz/time-record-service","commit_stats":null,"previous_names":["patricksferraz/time-record-service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/patricksferraz/time-record-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricksferraz%2Ftime-record-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricksferraz%2Ftime-record-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricksferraz%2Ftime-record-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricksferraz%2Ftime-record-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patricksferraz","download_url":"https://codeload.github.com/patricksferraz/time-record-service/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patricksferraz%2Ftime-record-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"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":["api-gateway","clean-architecture","distributed-systems","docker","elastic-apm","event-driven","go","golang","grpc","hr-system","kafka","kubernetes","microservices","monitoring","observability","openapi","postgresql","rest-api","swagger","time-tracking"],"created_at":"2025-12-15T20:50:42.562Z","updated_at":"2026-04-08T20:05:49.899Z","avatar_url":"https://github.com/patricksferraz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Time Record Service\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/patricksferraz/time-record-service)](https://goreportcard.com/report/github.com/patricksferraz/time-record-service)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![GoDoc](https://godoc.org/github.com/patricksferraz/time-record-service?status.svg)](https://godoc.org/github.com/patricksferraz/time-record-service)\n\nA modern, scalable time record management service built with Go, featuring gRPC and REST APIs, event-driven architecture, and comprehensive monitoring.\n\n## 🌟 Features\n\n- **Dual API Support**: REST and gRPC endpoints for flexible integration\n- **Event-Driven Architecture**: Kafka integration for reliable event processing\n- **Database Management**: PostgreSQL with pgAdmin interface\n- **Monitoring \u0026 Observability**: Elastic APM integration\n- **Containerized**: Docker and Kubernetes support\n- **Testing**: Comprehensive test suite with coverage reporting\n- **Documentation**: Swagger/OpenAPI documentation\n\n## 🚀 Quick Start\n\n### Prerequisites\n\n- Docker and Docker Compose\n- Go 1.16 or later\n- Make (optional, but recommended)\n\n### Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/patricksferraz/time-record-service.git\ncd time-record-service\n```\n\n2. Copy the environment file and configure it:\n```bash\ncp .env.example .env\n```\n\n3. Start the services:\n```bash\nmake up\n```\n\nThe service will be available at:\n- REST API: http://localhost:8080\n- gRPC: localhost:50051\n- pgAdmin: http://localhost:9000\n- Kafka Control Center: http://localhost:9021\n\n## 🛠️ Development\n\n### Building\n\n```bash\nmake build\n```\n\n### Running Tests\n\n```bash\nmake test\n```\n\n### Generating gRPC Code\n\n```bash\nmake gen\n```\n\n### Viewing Logs\n\n```bash\nmake logs\n```\n\n## 📚 API Documentation\n\nThe REST API documentation is available at `/swagger/index.html` when the service is running.\n\n## 🏗️ Architecture\n\nThe service follows a clean architecture pattern with the following components:\n\n- **Domain**: Core business logic and entities\n- **Application**: Use cases and business rules\n- **Infrastructure**: External services integration\n- **Interface**: API handlers and controllers\n\n## 🔄 Event Flow\n\nThe service processes the following events:\n- `NEW_EMPLOYEE`\n- `NEW_COMPANY`\n- `NEW_TIME_RECORD`\n\n## 📊 Monitoring\n\nThe service integrates with Elastic APM for:\n- Performance monitoring\n- Error tracking\n- Distributed tracing\n- Log aggregation\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.\n\n## 👥 Authors\n\n- **Patrick Ferraz** - *Initial work*\n\n## 🙏 Acknowledgments\n\n- [Gin Web Framework](https://github.com/gin-gonic/gin)\n- [Confluent Kafka](https://github.com/confluentinc/confluent-kafka-go)\n- [Elastic APM](https://www.elastic.co/apm)\n- [GORM](https://gorm.io/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatricksferraz%2Ftime-record-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatricksferraz%2Ftime-record-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatricksferraz%2Ftime-record-service/lists"}