Skip to content

feat: added 'v1' prefix to add external facing routes#1

Merged
BuckyMcYolo merged 1 commit intomainfrom
dev
Feb 13, 2026
Merged

feat: added 'v1' prefix to add external facing routes#1
BuckyMcYolo merged 1 commit intomainfrom
dev

Conversation

@BuckyMcYolo
Copy link
Copy Markdown
Owner

@BuckyMcYolo BuckyMcYolo commented Feb 13, 2026

Summary by CodeRabbit

  • New Features
    • Added a new health check endpoint at the root path to verify current system status and overall health.
    • Implemented versioned API routing infrastructure with dedicated v1 endpoint path support, enabling organized management and scalable structure of API endpoints across multiple versions while fully supporting planned future iterations and major updates.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Feb 13, 2026

📝 Walkthrough

Walkthrough

Added a health check route at the root endpoint and introduced versioned API routing structure with a v1 routes scaffold. Created an aggregated routes collection combining internal and v1 routes, updating the exported AppType type signature accordingly.

Changes

Cohort / File(s) Summary
Route Organization & Versioning
apps/api/src/app.ts
Added root health check endpoint, introduced v1 routing scaffold with registration loop under "/v1" path, created aggregated routes collection combining internalRoutes and v1Routes, and updated AppType export to reference the new aggregated routes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 Routes now organized, neat and tidy,
With v1 versioning, oh how fine!
Health checks hopping at the root so bright,
Aggregated paths in aggregated light ✨

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding a v1 prefix to external-facing routes by introducing v1Routes scaffolding and restructuring the routing architecture.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

No actionable comments were generated in the recent review. 🎉

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@BuckyMcYolo BuckyMcYolo merged commit 15f567c into main Feb 13, 2026
1 check passed
This was referenced Feb 15, 2026
Merged
Merged
Merged
@coderabbitai coderabbitai Bot mentioned this pull request Feb 26, 2026
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant