The website for Cheeky Tea Ltd. Visit cheekytea.co.uk.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You will need to install the following applications and versions.
- Gatsby v2.26.1
- React v16.13.1
- Sanity v2.23.1
- GATSBY_SNIPCART_API_KEY=XXXX
- SANITY_TOKEN=XXXX
These needs to be added an .env file in the root directory for local testing.
The GATSBY_SNIPCART_API_KEY vairable is from Snipcart. You can get this from their website by creating a free account. Check out their documentation here.
The SANITY_TOKEN is from Sanity.
Clone the repository
git clone https://github.com/Geerodge/cheekytea.co.uk.git
Install all the required packages
npm install
If, like myself, you decide to deploy with Netlify remember to add the environment variables in the "Build & Deploy" section.
Built using React, Gatsby and Sanity, with Snipcart for Ecommerce/shopping cart.
- Gatsby - The web framework used
- Reactjs - JavaScript library
- Sanity - Content Management System
- npm - Dependency Management
- Snipcart - Shopping Cart Platform
- George McEntegart - Website
This project is licensed under the MIT License - see the LICENSE file for details
Thanks to xiaolin for the React carousel image gallery that I used on the Cheeky Tea Box and Tea Strainer product page.
Writing clean code by Ryan McDermott
Wes Bos and his training courses, thank you!