Skip to content
Back to Templates

Gatsby 5 Boilerplate

A Gatsby starter template using v5.

Gatsby Boilerplate

This directory is a brief example of a Gatsby app with Serverless Functions that can be deployed to Vercel with zero configuration.

Demo

Live Example: https://gatsby.vercel.app

Running Locally

Note: Gatsby Functions are not yet supported on Vercel, which is why the API Route is in /api instead of /src/api.

To run your Gatsby application and your API Route, you'll need to use the Vercel CLI:

$ npm i -g vercel
$ vercel

Alternatively, you can remove the API and just use Gatsby:

$ yarn develop
GitHub Repovercel/examples
Use Cases