{"id":43005566,"url":"https://github.com/upb-code-labs/main-api","last_synced_at":"2026-01-31T04:36:22.198Z","repository":{"id":192078748,"uuid":"686044648","full_name":"upb-code-labs/main-api","owner":"upb-code-labs","description":"The central API to handle most of the CRUD operations 📊","archived":false,"fork":false,"pushed_at":"2024-02-05T21:31:51.000Z","size":638,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-22T19:25:15.842Z","etag":null,"topics":["api","gateway-api","hexagonal-architecture","queue-consumer","queue-producer","rest","server-sent-events","sse"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/upb-code-labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-09-01T15:51:06.000Z","updated_at":"2024-02-03T03:03:11.000Z","dependencies_parsed_at":"2023-09-26T04:34:30.864Z","dependency_job_id":"aea815f9-441d-421c-bbd9-f8e110be2676","html_url":"https://github.com/upb-code-labs/main-api","commit_stats":null,"previous_names":["upb-code-labs/main-api"],"tags_count":96,"template":false,"template_full_name":null,"purl":"pkg:github/upb-code-labs/main-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upb-code-labs%2Fmain-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upb-code-labs%2Fmain-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upb-code-labs%2Fmain-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upb-code-labs%2Fmain-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/upb-code-labs","download_url":"https://codeload.github.com/upb-code-labs/main-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upb-code-labs%2Fmain-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: 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-api","hexagonal-architecture","queue-consumer","queue-producer","rest","server-sent-events","sse"],"created_at":"2026-01-31T04:36:21.393Z","updated_at":"2026-01-31T04:36:22.191Z","avatar_url":"https://github.com/upb-code-labs.png","language":"Go","readme":"# Gateway\n\nWelcome to the gateway repository. This service is responsible for the following tasks:\n\n- Authentication\n- Authorization\n- Serve the REST API\n- Send SSE updates to the web client\n- Proxy requests to the static files micro-service\n- Publish messages to the RabbitMQ submissions queue\n\nBellow is a diagram of the overall architecture of the system with the gateway / main api highlighted in green.\n\n![Gateway service highlighted with a green rectangle in the overall architecture diagram](./docs/images/gateway-highlighted.jpg)\n\n## Documentation\n\nPlease, refer to the following documents for more information about the gateway service:\n\n| Document                                                  | Description                                                                                         |\n| --------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |\n| [Contributing](./docs/contributing.md)                    | Contributing guidelines.                                                                            |\n| [Environment](./docs/environment.md)                      | A description of the environment variables used by the gateway service.                       |\n| [Bruno Collection](./docs/bruno)                          | A collection of REST API requests to be used with [Bruno](https://github.com/usebruno/bruno).       |\n| [Insomnia Collection](./docs/insomnia)                    | A collection of REST API requests to be used with [Insomnia](https://insomnia.rest/).               |\n| [OpenAPI Specification](./docs/openapi/spec.openapi.yaml) | A description of the REST API using the [OpenAPI Specification](https://swagger.io/specification/). |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupb-code-labs%2Fmain-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupb-code-labs%2Fmain-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupb-code-labs%2Fmain-api/lists"}