Home / Companies / Gatsby / Blog / Post Details
Content Deep Dive

How to Migrate from Netlify Functions to Gatsby Functions on Gatsby Cloud

Blog post from Gatsby

Post Details
Company
Date Published
Author
Paul Scanlon
Word Count
499
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

Paul Scanlon provides a detailed guide on migrating from Netlify Functions to Gatsby Functions, emphasizing the advantages of using Gatsby Cloud's built-in serverless functions available since version 3.7. The process involves upgrading to at least Gatsby v3.7, removing Netlify-specific plugins and configurations from gatsby-config.js and netlify.toml, relocating function files to the src/api directory, and refactoring them to use Gatsby's "express-like" syntax. Additionally, client-side requests should be updated to reflect the new path structure starting with /api/, and any Netlify-specific scripts should be removed from package.json. Scanlon also offers resources such as a demo repository and an invitation to connect for further information on Twitter.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 2 762 118 56 +27%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.