NEW REACT PROJECT – Public APIs List

Category: | Posted on:February 12, 2024
public apis list

I built a simple app called Public APIs List that prints a list of all the free APIs available through public-api.

Objective

I want to get more comfortable with the JavaScript fetch API. I needed inspiration for another project to work on and figured I’d start by looking at big lists of free APIs that I could hook into. Turns out there are APIs for APIs. So just for some practice I grabbed one and spat out the full list for easier reading.

Development

There’s only one component. It uses a basic asynchronous fetch to grab the API entries. Then they get mapped into list items and spit out their titles.

This is my second go with Vite and it seemed to go a little smoother than last time. I played around with suspending the cache, since the app is so threadbare and that seemed to help with the refresh issues a bit.

Hurdles

The refresh issues with Vite are still there. I took to re-starting the dev server any time it happened. Fortunately the startup is lightning fast. I can’t imagine this is the normal workflow. There’s still something I’m missing.

Takeaways

There’s more data attached to each entry in the API, so I’ll probably enhance this project a bit more before picking one of the APIs to build out into another app. Hopefully I’ll work out a better solution for Vite refreshing as I go.

Tags: , , ,

Related Logs


  • UPDATE – Simple Responsive Portfolio Svelte

    January 26, 2026

    Refactored the code in the Simple Responsive Portfolio Svelte to use updated Svelte 5 syntax for state and props. Svelte 5 Syntax Svelte 5 retired the prior export syntax. Before, the parent would establish state with a let variable declaration: A child component could then receive it with an export statement: The new syntax for […]

    Continue Reading
  • NEW PROJECT – Simple Responsive Portfolio Svelte

    January 23, 2026

    The Simple Responsive Portfolio Svelte is a remake of my Simple Responsive Portfolio project in Svelte 5. Objective I need to brush up on my Svelte skills since it updated to v5. My last foray was a photo album for my wedding that used Svelte Cloudinary to handle uploads. This project was just a simple […]

    Continue Reading
  • RIP Glitch.com

    January 12, 2026

    Glitch.com, the service I was using to host some of my projects for free, has terminated its hosting services. I didn’t find out until after the grace period, so everything I had up there is gone, but it was all just copies of existing repos anyway. I’ve had to migrate the original Game Picker 9000, […]

    Continue Reading