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

Sanity GPX Input and Map Component

June 5, 2021

Last week I built a map in Python that displayed the GPS coordinates from a GPX file on a map inside a Jupyter Notebook. I got the GPX file from an app, Maps3D that I use when hiking. I thought this was pretty cool because the file included lat/long, time, and altitude data. I thought, wow, I want

Mapping GPX File Data with Python, Plotly, and Mapbox

June 6, 2021

I've used Maps3D for years now to help me plan and execute backpacking trips or day hikes. However, it wasn't until recently that I discovered the ability to send myself the GPX files from recorded tracks or planned tracks. This lets users share tracks (trails, routes, etc.), but it also

Gatsby Website Optimization

May 6, 2021

I was upset a couple of weeks ago when I ran the lighthouse test application in the Chrome DevTools and saw performance numbers in the 70s and 80s. The websites I tested were not big applications. I told myself; they should be damn near a 100.

PYTHON FASTAPIDeploying to Heroku

May 4, 2021

For the last post in the series, I'll briefly talk about how to deploy FastAPI to Heroku. Additionally, I'll talk about how we can add environment variables into our app that it may depend on.

PYTHON FASTAPIAdding API Key Authorization

May 4, 2021

A common environment variable used in server-side programming is API keys. These keys can authorize access to the server endpoints or are required for calling third-party APIs. Furthermore, API keys often are secret. So, it's best practice not to hardcode the value or

PYTHON FASTAPIMiddleware and Security in FastAPI

April 4, 2021

Sometimes the biggest obstacle when building a new app or project is security. It seems that each technology has its own special set of concerns. How can we be sure that we're protecting our resources? I was using NodeJS, and setting up an express server the first time I used middleware for a server

Auto ARIMA Time-Series Analysis: U.S COVID-19 Mortalities, and US Equities

April 4, 2021

In a prior analysis, using an ordinary least squares regression, I created a model that explained 55.7% of the variation in Boeing (BA) common stock pricing using a 7-day rolling average for U.S COVID-19 mortalities. Additionally, I found this statistic had a correlation

PYTHON FASTAPIView and Modify OpenAPI Documentation in FastAPI

March 2, 2021

Previously, when I used the Try It Out! button, the specification sent our development server a request. We can add other servers to test on in our documentation by passing in an array to the server's argument.