Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RELIC: Implement Routing Functionality #7

Open
klkucaj opened this issue Dec 9, 2024 · 0 comments
Open

RELIC: Implement Routing Functionality #7

klkucaj opened this issue Dec 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@klkucaj
Copy link
Collaborator

klkucaj commented Dec 9, 2024

Is your feature request related to a problem? Please describe.
The framework currently lacks built-in routing functionality, making it difficult to define and handle routes in a structured and scalable way. Developers need a robust routing mechanism to map HTTP requests to specific handlers efficiently.

Describe the solution you'd like
Introduce a routing system with the following features:

  • Support for defining routes with HTTP methods (e.g., GET, POST, PUT, DELETE).
  • Route parameter handling (e.g., /users/:id).
  • Middleware support for pre- and post-route execution.
  • Nested or grouped routes for better organization.
  • Error handling for undefined or invalid routes.

Describe alternatives you've considered

  • Using external routing libraries, which can work but adds unnecessary dependencies and reduces the framework's cohesiveness.

Additional context
A built-in routing system will provide a seamless experience for developers and align the framework with common practices in modern web development. It will also improve the maintainability and scalability of applications built with this framework.

@klkucaj klkucaj added the enhancement New feature or request label Dec 12, 2024
@SandPod SandPod transferred this issue from serverpod/serverpod Dec 16, 2024
@SandPod SandPod moved this to Next 🌟 in Relic Roadmap Dec 18, 2024
@vlidholt vlidholt moved this from Next 🌟 to Later 🥳 in Relic Roadmap Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Later 🥳
Development

No branches or pull requests

1 participant