You are browsing as a guest. Sign up (or log in) to start making projects!

Breath Dashboard

  • 1 Devlogs
  • 1 Total hours

Breath is a (as kind of expected) space themed Web-Dashboard, showing yu the POD via the NASA API in my own style.

Ship #1 Pending review

I made this Picture of the Day Dashboard for my Browser this evening focusing on using the guide, altough I faced severe issues while uploading (API Error 403), I made it and am really proud of what I made, especially the error managment. Hope yall enjoy it as much as I do!!

Try project → See source code →
Open comments for this post

1h 17m 27s logged

NASA APOD Dashboard Deployment Fix

Project Overview

An interactive space dashboard that displays the daily NASA Astronomy Picture of the Day (APOD). It features an integrated digital clock, an accurate asset age calculator, and a modern design.

Deployment Journey and Problem Resolution

Major Deployment Hurdles

Despite strictly following the guide, the website initially refused to work after deploying to GitHub Pages. While everything executed perfectly in the local environment, the live production site was stuck displaying a frustrating “403 Forbidden” network error.

Troubleshooting the Build Pipeline

The issue turned out to be an invisible barrier between the automated GitHub Actions pipeline and how Vite injects environment variables (the hidden NASA API key):

  1. Incorrect Secret Payload: Due to a minor copy-paste oversight when adding the Secrets to GitHub, a wrong string format was being bundled into the production code.
  2. Blocked Environment Access: GitHub Actions initially failed to map the key to Vite correctly, causing the builder to compile the code with an empty value (undefined). The NASA API automatically blocks these requests.

Mission Accomplished in One Evening

By introducing programmatic live tests (such as a temporary browser pop-up to inspect the live key status), the bug was systematically isolated.

Once the secret names were perfectly aligned, duplicated to both global and environment levels, and the GitHub build cache was forced to reset via a clean push, the roadblock collapsed. Despite the intense troubleshooting, I managed to fix the entire pipeline and successfully launch the project in a single evening. The direct feed to NASA is stable, and the live dashboard is fully operational.

0

Loading discussion…

0
2

Followers

Loading…