Skip to content

refactor(api-main): organize routes into separate files#413

Merged
alanrsoares merged 5 commits intomainfrom
refactor/organize-routes
Oct 23, 2025
Merged

refactor(api-main): organize routes into separate files#413
alanrsoares merged 5 commits intomainfrom
refactor/organize-routes

Conversation

@luciorubeens
Copy link
Member

Reorganizes API routes into separate files by domain and authentication type. The previous structure was confusing and did not clearly distinguish between indexer/reader and user routes.

The authorization logic is now handled using a middleware instead of manual checks in each handler.

Reorganizes API routes into separate files by domain and authentication
type. The previous structure was confusing and did not clearly distinguish
between indexer/reader and user routes.

The authorization logic is now handled using a middleware instead of manual
checks in each handler.
@netlify
Copy link

netlify bot commented Oct 23, 2025

Deploy Preview for dither-staging ready!

Name Link
🔨 Latest commit aa8a9c3
🔍 Latest deploy log https://app.netlify.com/projects/dither-staging/deploys/68fa6d5e59a79100080af277
😎 Deploy Preview https://deploy-preview-413--dither-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@luciorubeens luciorubeens marked this pull request as draft October 23, 2025 17:00
@luciorubeens luciorubeens marked this pull request as ready for review October 23, 2025 18:06
@mazzy89 mazzy89 self-requested a review October 23, 2025 19:36
Copy link

@mazzy89 mazzy89 left a comment

Choose a reason for hiding this comment

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

LGTM.

@mazzy89
Copy link

mazzy89 commented Oct 23, 2025

Once this is going to be merged smoke tests for api will run. Let's watch closely

@alanrsoares alanrsoares merged commit 52a628e into main Oct 23, 2025
11 checks passed
@alanrsoares alanrsoares deleted the refactor/organize-routes branch October 23, 2025 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants