Restaurant Site Project with GatsbyJS-16

Image for post
Image for post
Photo by Kenny Luo on Unsplash

Welcome to part-16 of the series. You can find part-15 here.

In the previous part we had done all the changes to implement snipcart. So, let’s start to add ecommerce feature to our site by snipcart.

Let’s signup for https://snipcart.com/ for which you only require an email address, if you only want to test.

Once, you signup you will be taken to the dashboard screen.

Image for post
Image for post
Dashboard

Rest of the chapter is exclusive content and will be in my upcoming book Gatsby Cookbook. You can find more details about it here.

Image for post
Image for post
Gatsby Cookbook

Now, if we click on the Order button it will add the item in our cart.

Image for post
Image for post
Added

I am pushing this code to github for the automatic deployment to netlify at https://restaurant-bangalore.netlify.app

This completes part-16 of the series. You can find part-17 here.

You can find the code for the project in this github repo.

Written by

UI Lead- ReactJS, JavaScript and everything in-between.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store