Skip to content

Rethink how we handle the router in apis and move away from implicit file based routing #824

@jhaynie

Description

@jhaynie

Right now we have a combination of implicit and explicit route definition and its not the best. we need to rework this.

app.ts should have something like:

import index from './src/api';

const { router } = createApp()

router.mount('/api', index)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions