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

Make it generic? #51

Open
brillout opened this issue Jan 29, 2025 · 1 comment
Open

Make it generic? #51

brillout opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request low-prio 🐌

Comments

@brillout
Copy link
Member

vike-node supports these server frameworks: https://github.com/vikejs/vike-node#supported-servers.

Can we make vike-node generic so that it can take any server entry ./path/to/server/index.ts as argument? So that it becomes more like a drop in replacement for ts-node.

In addition, we can have vike-{express,hono,fastify,...} for seamless integration (powered by universal-middleware).

CC @magne4000 @rtritto

Labeling this as low-prio because vike-{express,hono,fastify,...} are more important (they are crucial for the Stem vision). But it's good to have this nice-to-have-goal on the radar since we're currently refactoring the whole server integration.

@magne4000
Copy link
Member

I'll probably tackle this subject myself, as it's closely tied to universal-middleware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request low-prio 🐌
Projects
None yet
Development

No branches or pull requests

2 participants