NEW PROJECT – Catholic Liturgical Date Checker

Category: | Posted on:May 29, 2024
catholic liturgical calendar

The Liturgical Date Checker project uses the Liturgical Calendar API to display information about Catholic Holy days. On page load it fetches info for today, tomorrow, and yesterday. It also has a search field that will return celebration info about a specific date.

Objective

This is just more basic API practice. I started this in February or March and fell off of it for a while. I wanted an API with a little more meat than the logo picker. Something more akin to the Open Library Search project with a few different kinds of data formats. This one had some arrays to loop through.

Development

I initially had separate components for the Today, Tomorrow, and Yesterday results, but that wasn’t substantive enough for a coding exercise. I decided to add search functionality and refactored my display components into a single shared component that could take different dates and titles as props. The Javascript Date() object is the MVP of this project. I used it to compute the dates for the initial data fetch.

Hurdles

I forgot to wrap the contents of my .map() method in parentheses, which stopped me for an evening. Pretty dumb typo. I also didn’t wrap my error message in a proper div, which caused it not to show when invalid text was entered in the search field.

More substantially, I was unable to host the project on my site due to a mixed content error. Turns out the API is being served over http, as opposed to https, so the fetch gets stopped by the browser. It works locally, but would require that I set up a proxy and re-serve the data through https to get it to work. That’s a bit much for a React exercise.

Takeaways

I need to double check that my API selections are served through https going forward.

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