The project with GatsbyJS-28

Welcome to part-28 of the series. You can find part-27 here.

In this part i will start with adding the logic to show current count of total blogs, next to search bar. We will also update the count, if someone searches in search bar.

Open the index.js file and add a variable postCount, which will get the total count of posts. After that add a new state variable filteredCount.

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

The book is currently 80% complete and available on leanpub to purchase at this url.

It will also launch all the major platform like leanpub, amazon, iBooks, gumroad once it is complete in July 2020.

It’s time to push the code to github for the automatic deployment in netlify. And our site is live after the deployment.

This completes part-28 of the series. You can find the final part here.

You can find the code for the same 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
Nabendu Biswas

Nabendu Biswas


Founder TWD, JavaScript & ReactJS Trainer, Youtuber, Blogger