Simple SWAPI react app

This app was made for the purposes of university class assignemt

Simple react app to demonstrate API communication via JSON files

Example hosted on firebase HERE

Uses:

  • yarn as package manager
  • antd library for components
  • firebase cli for deployment/hosting

Features:

  • fetch api to send a get request for one random charachter from swapi endpoint (https://swapi.dev/api/people/) which returns a json response with charachter iformation
  • after succesful response,stores data localy and creates a list of requested characters, fills it sequentially
  • a button to empty the list