Restaurant Site Project with GatsbyJS-13

Welcome to part-13 of the series. You can find part-12 here.

We have completed added data to our contentful CMS in the past two posts. Now, to use those data we have to first install a gatsby plugin called gatsby-source-contentful.

Now, as per the documentation we have to do a npm install first, followed by adding lines in gatsby-config.js file.

Image for post
Image for post
Doc

Rest of the chapter is exclusive content and will be in my upcoming book Gatsby Cookbook. You can find more details about it here.

Image for post
Image for post
Gatsby Cookbook

Now, we can add both of our ACCESS_TOKEN and SPACE_ID, along with there values and click on Save button.

Image for post
Image for post
Access Tokens

This completes part-13 of the series. You can find part-14 here.

You can find the code for the project in this github repo.

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