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

Architect a Blockchain Supply Chain Solution Part B Project FAQ — Udacity Blockchain

[Mal Series #2] Phishing Web Page

Design Patterns with Typescript — Strategy

Angular vs React.js in Enterprise Level Application

How to Work with Your Programming Mentor

Build SpaceX fan site using GraphQL with React and Apollo Client -3

A RecyclerView with multiple item types

NestJS Interceptors

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

Understanding NodeJS by building a Task App

How to Deploy Several React Apps in One Node.js server, Without the Tears 😭

HTTP Error handling in React.js with an Interceptor

How to Make a Discord Bot in Node.js