Generic HttpServer Adapter using @whatwg-node/server (or similar) Library #216
pierissimo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Background
This document proposes the implementation of a generic HttpServer adapter using the @whatwg-node/server library within the DaVinci framework. The goal of this proposal is to provide developers with a simple and consistent way to create servers that can run on different runtimes, such as Edge, Deno, and AWS Lambda, and streamline the logic for supporting different underlying server frameworks like Express, Fastify.
Creating a server that can run on different runtimes and frameworks can be challenging, as each runtime and framework has its own set of requirements and limitations. Additionally, developing and maintaining different server implementations for each runtime and framework can be time-consuming and error-prone.
Proposed Solution
To address these issues, it is proposed that the DaVinci framework should integrate the @whatwg-node/server library. This library provides a simple and consistent way to create servers that can run on different runtimes, such as Edge, Deno, and AWS Lambda, and streamline the logic for supporting different underlying server frameworks like Express, Fastify.
Beta Was this translation helpful? Give feedback.
All reactions