Restaurant Site Project with GatsbyJS-18

Photo by Toa Heftiba on Unsplash

Welcome to part-18 of the series. You can find part-17 here.

There is a feature which is pending in our site and this is of Webhooks. We have added all menu items, but if we want to change one item or new to add some new items. In such cases after adding the data in contentful, we have to trigger the deploy in our netlify.

We can automate this process and it helps, if we are creating a site with ecommerce feature for a client, to whom we had only given contentful access. Now, they can just change the data in contentful and the site will be re-deployed with the change.

So, let’s head over to netlify for our site and click on Site Settings.

Site Settings

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

After the build is done, when we move back to our site, we can see the changes in place.

Changes

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

The start of a new adventure

How To Use Google Translate In Google Sheets

Introduction to React

forRoot() and forChild()

React Native Error Monitoring

JavaScript Things To know

gibrish coding

An introduction to Chrome DevTools

What is an Event Loop in JavaScript? Let’s find out!

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

Create a PERN Todo List

Bankist App: Banking made minimalist.

How to Use Fusioncharts to Create Charts in ReactJS

How To Start npm Project?