typelevel / typelevel/feral

Support Vercel

Open
#420 2 comments 1 reaction 1 assignee View on GitHub

@Chingles2404 is already working on this.

Since Jun 7, 2024.

  • #492 by @Chingles2404 — open
enhancement help wanted
Dominant language
Scala
Stars
195
Forks
53
PR merge metrics
No merged PRs in 30d

Description

Documentation: https://vercel.com/docs/functions/serverless-functions/runtimes/node-js#advanced-node.js-usage

Vercel expects you to export a function whose signature is compatible with the argument to Node.js createServer method.

Fortunately there is already an implementation of such a function in http4s.

https://github.com/http4s/http4s/blob/ec939b1b354843d53293d4f9a9ac0e205fd4ec47/client-testkit/js/src/main/scala/org/http4s/client/testkit/scaffold/ServerScaffold.scala#L70-L72

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.