Skip to content

Support more http servers #3

@stauren

Description

@stauren

Currently only Express.js is used as the default SSR HTTP server.
More HTTP servers will be available if they:

  • load the generated SSR app server render bundle
  • load server-hooks config from generated app bundle
  • put server logic in server hooks and wrap them as a server hook plugin
  • create HookLifeCycle instance using loaded server-hooks config and custom server hook plugin
  • pass HTTP Request to HookLifeCycle and send HTTP Response with the result

More http server like koa.js, nest.js could be implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions