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.EXAMPLE
to.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_TOKEN
variable in.env
. - Get the deployed GraphQL endpoint for your Sanity project and add it to the
GATSBY_GRAPHQL_ENDPOINT
variable in.env
. - Add
MAIL_HOST
,MAIL_USER
andMAIL_PASS
values for a transactional email service in.env
to send emails via the order form. - Install dependencies with
yarn
. - Install serverless function dependencies with
yarn
in thefunctions
directory. - Start your dev server with
yarn netlify
.