Learn GatsbyJS by creating a tourism site -11

Nabendu Biswas
2 min readDec 14, 2019

--

Photo by JK on Unsplash

Welcome to part-11 of the series. You can find part-10 here.

As told in the earlier post, this series is based on the learning from this awesome udemy course by John Smilga

Here we will first create the queries in GraphiQL for our places. We have a Places page in our project and will also show Featured places on the home page.

So, head over to GraphiQL and type the below query to get all places. We can also get the details of the query from the docs, on the right side.

GraphiQL

Rest of the chapter is exclusive content and will be in my upcoming book Gatsby Cookbook.

Now, it will show our Featured Place with the name of the place below it.

Places

This completes part-11 of the series. You can find my code in my github account here.

Also, because of the continuous deployment it got sucessfully pushed to netlify site.

You can find part-12 here.

--

--

Nabendu Biswas
Nabendu Biswas

Written by Nabendu Biswas

Architect, ReactJS & Ecosystem Expert, Youtuber, Blogger

No responses yet