Shedrack Akintayo

All Posts

Exploring technical writing, DevOps practices, and cloud architecture through detailed guides and tutorials.

After a while working at the CFF, I realized that I was looking for a different thing because I felt like my work with the CFF was already at its end and I wanted to move on to another. I still wanted to remain in the PaaS and also do open source work in the process because I strongly believe in it.

React is a fantastic Javascript library for building rich user interfaces, it provides a great component abstraction for organising your interfaces into well-functioning code but what about the look and feel of the app? In the browser, the look and feel of the app are mostly defined by CSS which is a means of styling our web applications and websites. There are various ways of styling React components from using stylesheets to using external styling libraries etc.

In this tutorial, we are going to learn about how to consume REST APIs in React using the fetch API and the Axios client. In the process, we will also build a simple react applications that is consuming an API. At the end of this tutorial, the readers would understand what a REST API is and how to consume them in React with the best practices.