Share your repls and programming experiences

← Back to all posts
Stars Wars API Example
[deleted]

This program fetches and displays formatted data about people and planets associated with the Star Wars films. The SWAPI (Star Wars API) is used for this purpose. A simple caching mechanism is used to preload data (into arrays) on button mouse over to speed up the displaying of data when buttons are pressed/clicked. Future plans will see next and previous buttons being added for pagination purposes.

This program was inspired by a series of YouTube videos by the NetNinja on using reactQuery: https://www.youtube.com/watch?v=x1rQ61otgtU&list=PL4cUxeGkcC9jpi7Ptjl5b50p9gLjOFani