{"id":21476074,"url":"https://github.com/mehditeymorian/etefagh","last_synced_at":"2025-07-01T12:05:42.402Z","repository":{"id":57636652,"uuid":"416609178","full_name":"mehditeymorian/Etefagh","owner":"mehditeymorian","description":"HTTP server receives events and publishes them to STAN","archived":false,"fork":false,"pushed_at":"2021-11-04T18:26:33.000Z","size":301,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"dev-ci","last_synced_at":"2024-06-20T12:41:19.605Z","etag":null,"topics":["echo","jaeger","mongodb","nats","nats-streaming","opentelemetry","protobuf","redis","zap"],"latest_commit_sha":null,"homepage":"","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/mehditeymorian.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}},"created_at":"2021-10-13T06:03:36.000Z","updated_at":"2023-11-14T20:20:12.000Z","dependencies_parsed_at":"2022-08-30T09:41:02.862Z","dependency_job_id":null,"html_url":"https://github.com/mehditeymorian/Etefagh","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehditeymorian%2FEtefagh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehditeymorian%2FEtefagh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehditeymorian%2FEtefagh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehditeymorian%2FEtefagh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehditeymorian","download_url":"https://codeload.github.com/mehditeymorian/Etefagh/tar.gz/refs/heads/dev-ci","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033271,"owners_count":17563125,"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":["echo","jaeger","mongodb","nats","nats-streaming","opentelemetry","protobuf","redis","zap"],"created_at":"2024-11-23T10:47:08.420Z","updated_at":"2024-11-23T10:47:09.089Z","avatar_url":"https://github.com/mehditeymorian.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Etefagh\nPublishes events to Nats Streaming(STAN) synchornously and asynchronously. Cache events's publish-state using Redis and Store events using MongoDB.\n![Structure](https://github.com/mehditeymorian/Etefagh/blob/main/assets/ETEFAGH.jpg)\n\n### Event Model\n```golang\n// Event model\ntype Event struct {\n\tEventType   string `json:\"event_type\"`\n\tDescription string `json:\"description\"`\n\tPriority    int    `json:\"priority\"`\n\tPayload     string `json:\"payload\"`\n}\n```\n\n### Protobuf\n```protobuf\nmessage Event {\n  string eventType = 1;\n  string description = 2;\n  int32 priority = 3;\n  string payload = 4;\n}\n```\n\n### How to Run\nUse [docker-compose.yaml](https://github.com/mehditeymorian/Etefagh/blob/main/deployments/docker-compose.yaml) file to run containers.\n\n- Up: `docker-compose -f PATH/deployments/docker-compose.yaml up --build`\n- Down: `docker-compose -f PATH/deployments/docker-compose.yaml down`\n\n\n### Links\n| Name      | Link |\n| ----------- | ----------- |\n| Jaeger      | localhost:16686       |\n| Swagger   | localhost:3000/swagger/index.html#/        |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehditeymorian%2Fetefagh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehditeymorian%2Fetefagh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehditeymorian%2Fetefagh/lists"}