Skip to content

Feat/gateway routing and aggregation#1700

Open
LeonardoVieira1630 wants to merge 15 commits intodevfrom
feat/gateway_routing_and_aggregation
Open

Feat/gateway routing and aggregation#1700
LeonardoVieira1630 wants to merge 15 commits intodevfrom
feat/gateway_routing_and_aggregation

Conversation

@LeonardoVieira1630
Copy link
Member

@LeonardoVieira1630 LeonardoVieira1630 commented Mar 11, 2026

REST Gateway

Adds a new rest-gateway package — a Hono-based API gateway that aggregates multiple upstream DAO APIs into a unified REST endpoint.

What's included

  • Proxy route: forwards requests to upstream APIs
  • DAOs route: aggregates DAO data from all upstreams
  • Delegation route: aggregates and merges delegation data
  • Address enrichment route: enriches address data across upstreams
  • Health check route
  • OpenAPI docs merging from upstream APIs
  • Shared utilities: config, fan-out helpers
  • Tests for all routes and services

LeonardoVieira1630 and others added 10 commits March 11, 2026 15:00
Exclude dist/ and node_modules/ from version control.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add package.json, tsconfig.json, and vitest config for the new REST gateway app.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add configuration module and fan-out utility for parallel API requests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add health check endpoint for service monitoring.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add proxy route for forwarding requests to downstream DAO APIs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add address enrichment endpoint for aggregating address data across DAOs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add DAOs listing endpoint with aggregation across multiple DAO APIs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add delegation endpoint for querying delegation data across DAOs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Wire up all routes and start the Hono server.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@LeonardoVieira1630 LeonardoVieira1630 self-assigned this Mar 11, 2026
@LeonardoVieira1630 LeonardoVieira1630 added the enhancement Improving an already existing feature label Mar 11, 2026
@vercel
Copy link

vercel bot commented Mar 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
anticapture Ready Ready Preview, Comment Mar 13, 2026 3:27pm
anticapture-storybook Ready Ready Preview, Comment Mar 13, 2026 3:27pm

Request Review

@railway-app railway-app bot temporarily deployed to anticapture-infra / dev March 12, 2026 13:49 Inactive
@vercel vercel bot temporarily deployed to Preview – anticapture-storybook March 12, 2026 13:50 Inactive
@LeonardoVieira1630 LeonardoVieira1630 marked this pull request as ready for review March 12, 2026 14:38
@claude
Copy link

claude bot commented Mar 12, 2026

Claude encountered an error —— View job


I'll analyze this and get back to you.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6867cc717f

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@railway-app railway-app bot temporarily deployed to anticapture-infra / dev March 12, 2026 14:59 Inactive
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ebac96b679

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improving an already existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant