Restaurant Site Project with GatsbyJS-16

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.

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.

Gatsby Cookbook

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

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.

--

--

--

Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Building News App using Angular 5

Async JS Crash Course — Callbacks, Promises, Async Await

NodeJs and MongoDB

Create a Simple Color Flipper in JavaScript

5 Lesser-Known NPM Packages I Didn’t Know I Needed as a Web Developer

Array Operation in MongoDB

How to automate your portfolio website [Part 1]

Basics of Javascript · String · raw() (method)

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
Nabendu Biswas

Nabendu Biswas

Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger

More from Medium

Customising JSON Forms

How To Set Up React With Tailwind CSS

Benefits and Drawbacks of REST APIs

React App with Final Space API — Tinder Style