/fetch-SW-API-entire-data

App for fetching entire data set from a paginated API

Primary LanguageJavaScript

Fetching data from star wars API

A simple and introductory project that fetches data from the Star Wars API. The application was developed using React Js

How to run it

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

What I learned

  • State, props and their role in a react application
  • How to fetch data from an API using Axios
  • How to fetch all the data at once when the API is paginated
  • Conditinal rendering