Skip to content

Gatsby.js Boilerplate

A Gatsby starter app with an API Route.

Framework Gatsby
Use Case Starter
CSS CSS Modules
Publisher ▲ Vercel

Gatsby

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

Deploy Your Own

Deploy your own Gatsby project, along with Serverless Functions, with Vercel.

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

Gatsby.js Boilerplate

A Gatsby starter app with an API Route.

Framework Gatsby
Use Case Starter
CSS CSS Modules
Publisher ▲ Vercel

Gatsby

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

Deploy Your Own

Deploy your own Gatsby project, along with Serverless Functions, with Vercel.

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

Unleash New Possibilities

Deploy your app on Vercel and unlock its full potential