SQH

Discing Up - Details

Architecture: Internal Processes, Hosting & External APIs

Architecture

CI/CD Workflows

  • Executing git push origin <feature_branch>to GitHub, triggers Vercel to deploy the commits to a standalone Preview environment for that pull request.
  • Merged pull requests to Staging and Main trigger a Vercel deploy using the respective environment's variables
  • Main can only be merged into from the staging branch.

Internal Routing

Internal API Routing Chart

API End Points

  • Daily Cron Job
    • POST DELETE Stale Conditions Reports
  • Revalidate: On-demand Incremental Static Regeneration (ISR)
    • POST Trigger Vercel to rebuild static course page on CREATE conditions report
  • Update Heroku Database Credentials
    • POST Handle webhook call from Heroku that the database credentials have been rotated. Update Vercel and redeploy.

Key Features: Details you might miss

Course Page: Personalized Weather Preferences

A driving value of Discing Up is its ability to personalize the color-coding of hourly weather data. This enables the user to at-a-glance see which hours in the coming week will have playable weather conditions. This value is seasonal to Spring and Winter when inclement weather is predominant.

Course Page: Dynamic Preview Image

Check Out the App

© 2024 - Stephen Howard