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

Segregate the CLI, Router, Kernel Logic #8

Open
2 of 5 tasks
barelyhuman opened this issue Jun 5, 2023 · 0 comments
Open
2 of 5 tasks

Segregate the CLI, Router, Kernel Logic #8

barelyhuman opened this issue Jun 5, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@barelyhuman
Copy link
Owner

barelyhuman commented Jun 5, 2023

  • Move the compilation logic out of the CLI (Already done in https://github.com/barelyhuman/dveep/blob/main/packages/dveep/src/lib/builder.js). Uses rollup instead of esbuild so needs the required modifications for the same

  • Move the routing logic out of the kernel and the cli and instead it's own tiny module.

    • Scan the directory and generate module imports for every route and file
    • Construct the routes using a manifest or define a routing config
    • Explain the behavior for the routes.js file and the pagination based route in docs
@barelyhuman barelyhuman self-assigned this Jun 5, 2023
@barelyhuman barelyhuman added the enhancement New feature or request label Jun 5, 2023
@barelyhuman barelyhuman mentioned this issue Jun 10, 2023
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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant