This demo uses:
- a Gatsby Theme
- the Fauna DB Netlify Addon
- Netlify Dev to run everything
Note: if you are cloning this repo, you are only experiencing half of what Netlify Dev has to offer. You should try building this project from scratch (just start from the raw Gatsby Theme to see how
netlify functions:create
helps you build out and set up your project quickly)
clone this repo, then:
yarn # install gatsby project deps
cd functions/fauna
yarn # install function deps
cd ... # back to root
netlify init # get a siteID
netlify addons:create fauna # get fauna addon added
netlify dev:exec functions/fauna/create-schema # bootstrap the fauna schema for our demo
netlify dev # run it