vercel / vercel/examples

[Bun] Backend route aren't available using bun example

Open
#1,571 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.2k
Forks
1.8k
Avg merge
3d 12h
Merged PRs (30d)
6

Description

Hi there,

I tried to deploy this bun code example: https://github.com/vercel/examples/tree/main/framework-boilerplates/bun

The deployement works fine, but Vercel doesn't expose the Bun server routes. I tried to GET /health

Here is the configuration:

Image

and here the deployed app : https://bun-vercel-ebon.vercel.app/

Image

I haven't found a solution on the documentation to solve that.

note: the bun preset framework isn't available in the dropdown, but the documentation mention that: https://vercel.com/docs/functions/runtimes/bun

Thanks team for your help ;)
See you

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reproducing the deployment from the linked framework-boilerplates/bun example and request the /health route. Compare the example's route setup with the Vercel Bun runtime documentation, including the missing Bun framework preset. Done means the deployed Bun server exposes its documented backend routes, including /health.

Written by the indexing model from the issue text.

Assessment

Tech stack
bun
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.