Check If Google Credentials Are Valid

September 4, 2021

This is a short post on checking if Google OAuth2.0 credentials are valid in a Python—FastAPI—application. The backstory is that I have an application that is in "test" mode in Google Cloud Projects. Therefore, the credentials expire every seven days, and I'm not sure when I'll get around to

React Performance Pattern and Profiling

August 2, 2021

Performance issues may have never crossed your mind building your first React application. There were much more pressing issues to figure out. Furthermore, you weren't quite sure how to check performance. However, as the application grew in complexity, it became apparent that some

Continuous Integration on Github with FastAPI and pytest

August 3, 2021

This article discusses another Github Action that targets unit testing and installing dependencies when developers create pull requests. Pull requests let maintainers review, test, and decide if code should become part of the Git repository. Fortunately, we can save ourselves time when reviewing

Semantizing: Semantic Versioning, Releases, and Github

July 4, 2021

Professional API workflows use versioning. However, this is not specific to APIs. Version control is a core principle in software engineering and is found wherever software is.

Custom React Hook Example

July 2, 2021

I remember first learning about React hooks with the release of version 16.8.0. I thought they were wonderfully helpful, and I can count on one hand the times—since that moment—when I reverted to writing class components (instead of a functional component).

How to Access DynamoDB in FastAPI

July 5, 2021

This article is a short article on accessing DynamoDB from a FastAPI server. First, I'll talk a little about FastAPI, some libraries used to access DynamoDB, and then share the code that works for me at the moment.

JWT and Cookie Auth in FastAPI

July 5, 2021

In this article I provide context from other tutorials on the big picture. Discuss how these JWTs and cookies can work together for security. Share Python code for implementation in FastAPI. I leave out a few items. The function code for communicating with a database through FastAPI (instead

Updates to React Map Components and Sanity Schema

July 4, 2021

This brief article notes several changes made to code in previous articles that discussed rendering map data in and on the frontend with ReactJS. It covers changes to three different modules: Sanity schema, Preview component, Map serializer

Display Map Data with React and Mapbox

June 3, 2021

In my previous post, I created input and preview components for a GPX file to display track (hike) data on a map. I utilized Leaflet.js and Mapbox for the map display component. Now that I have the backend settled, I want to render this map on the frontend. Despite using Leaflet