Skip to content

🤔 How can I structure my routes into seperate files? #270

@moneszarrugh

Description

@moneszarrugh

Right now all of my routes are in the main function.

What is the correct way to structure my application so that I can separate routes into multiple files the same way as with express?

I want to handle the GET, POST etc. of each route in a separate file for that route

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions