Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Make Authenticated, Serverless, Dynamic Clientside JAMstack apps with Gatsby + Netlify Dev (Functions + Identity)
The Jamstack Hackathon Starter is a Gatsby.js boilerplate for building authenticated, serverless, dynamic clientside JAMstack apps with Netlify Identity and Netlify Functions via the Netlify Dev workflow.
It is a fork of the official gatsby-starter-default, created by swyx (Shawn Wang) and shared on GitHub. The starter takes a standard Gatsby site and layers on Netlify Identity for authentication and Netlify Functions for serverless APIs, all orchestrated locally through Netlify Dev. As input, you get a pre-configured React/Gatsby project; as output, it produces a deployable site where functions and identity are available on Netlify's platform, with one-click deployment.
netlify-lambda.react-netlify-identity-widget package provides signup, login, and logout flows for React components.stack=cms parameter is included.netlify dev and see how the CLI proxies the Gatsby server and functions.First, install the Netlify CLI globally with npm i -g netlify-cli and log in with netlify login. In the project root, run netlify dev (or ntl dev). The CLI starts a Gatsby dev server on port 8000 and a functions server on a randomly selected port, then proxies both to port 8888. You must access the site at http://localhost:8888 for functions to work. The README notes that enabling Netlify Identity manually is required unless you used the Deploy to Netlify button with stack=cms.
Go to https://app.netlify.com/sites/YOUR_SITE_HERE/identity and enable it manually. Alternatively, use the Deploy to Netlify button with the stack=cms query parameter, which configures Identity automatically.
It adds netlify-lambda to manage Netlify Functions dependencies during deployment and react-netlify-identity-widget to provide the authentication UI and logic for React.
Yes. The README links to a Gatsby blog post titled "Turning the Static Dynamic" and a FreeCodeCamp guide that explain how to add Netlify Identity and Functions to any Gatsby project without forking this starter.
With Netlify Dev, the Gatsby server and the functions server run separately. The CLI proxies both to a new port (usually 8888) so requests to functions and pages are handled together. Visiting 8000 directly would bypass the proxy and break functions.
Yes. The README embeds a 3-minute video walkthrough on YouTube, accessible from the repository page, that demonstrates the starter in action.
