Skip to content

Latest commit

 

History

History

vercel

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Deploy and run a serverless go fiber application on vercel. With this recipie, you can also declare your routes using the fiber router.

Config

Make sure to add the vercel.json file so the routing will work properly with vercel. This will rewrite all requests to the application to the api/index.go handler where the router will take over.

{
  "rewrites": [
    { "source": "(.*)", "destination": "api/index.go" }
  ]
}

Deploy

Deploy this application to vercel by clicking the button below.

Deploy with Vercel