Skip to main content

One post tagged with "vitest"

View All Tags

Building a GitHub Projects Showcase with TDD

· 5 min read
Chris
Amiable Dev

Building a portfolio page that showcases GitHub projects sounds straightforward until you consider the edge cases: What happens when the GitHub API is down? What if rate limits are exceeded? How do you test React components that depend on external data?

This post walks through how test-driven development (TDD) helped us build a robust /projects page with 64 automated tests, ensuring 100% deployment reliability and preventing CI failures when upstream APIs go down.