Make JAMstack apps, not sites with Gatsby + Netlify Identity + Netlify Functions
This is a fork of https://github.com/gatsbyjs/gatsby-starter-default which shows how to use Netlify Identity and Netlify Functions with Gatsby. Start here for your next JAMstack hackathon or use this as a reference implementation.
3 minute video walkthrough
Make your own from scratch!
Check our post on the Gatsby blog: Turning the Static Dynamic: Gatsby + Netlify Functions + Netlify Identity
How to start
Basically these are the extra dependencies it adds:
netlify-lambda: For locally emulating Netlify Functions
http-proxy-middleware: For proxying netlify-lambda function calls to avoid CORS issues as per the Gatsby docs
netlify-identity-widget: For adding
Enabling Netlify Identity
If you are not using the Deploy to Netlify button (which has the
&stack=cms parameter that automatically sets it up for you), you will have to enable Netlify Identity manually yourself. Just head to
https://app.netlify.com/sites/YOUR_SITE_HERE/identity and enable it, so that your
Further Documentation in nested READMEs
- please see the src README for explanation on the layout
- please see the app README for explanation on the app
Other useful resources/reference projects that may help you:
Please contact @swyx if you need more help with Netlify.