back to all posts

Build an Restaurant site with Gatsby and Snipcart - 16

by Nabendu Biswas / May 19th, 2020

#javascript #react #gatsby
Series: Gatsby-snipcart

Welcome to part-16 of the series. 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.

DashboardDashboard

Rest of the chapter is exclusive content and is from my book Foundation Gatsby Projects.

The book can be purchased from Apress site here

Foundation Gatsby Projects

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

AddedAdded

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 the code for the project in this github repo.

Nabendu Biswas