This is a web application created for a fake pizza shop called Slick's Slices.
It is built with Gatsby and uses Sanity for a headless CMS.
โก๏ธ View Live Demo โก๏ธ
The backend repo can be found here.
- Gatsby
- Sanity
- GraphQL
- Netlify
- Serverless functions hosted on Netlify
- Styled Components
- Fast, optimized images
- Copy
.env.EXAMPLEto.env. - Clone the backend repo and follow the setup instructions.
- Get a new API token for your Sanity project and add it to the
SANITY_TOKENvariable in.env. - Get the deployed GraphQL endpoint for your Sanity project and add it to the
GATSBY_GRAPHQL_ENDPOINTvariable in.env. - Add
MAIL_HOST,MAIL_USERandMAIL_PASSvalues for a transactional email service in.envto send emails via the order form. - Install dependencies with
yarn. - Install serverless function dependencies with
yarnin thefunctionsdirectory. - Start your dev server with
yarn netlify.

