Share your repls and programming experiences

← Back to all posts
Stars Wars API Example

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: