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

Dom Kennedy Type Beat

Angular 5.0 new ship arrives.

This is title

Creating an Address Book in JavaScript

Digit Only Directive in Angular

Detect errors and warnings in react native using LogBox

Hook up with the React Hooks

Angular Vs React: How to know Which Technology is Better for your Project

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

React App with Final Space API — Tinder Style

Benefits and Drawbacks of REST APIs

Bankist App: Banking made minimalist.

ReactJS Tutorial Part #1: Introduction to ReactJS Basics