Skip to content

Conversation

@itsisak
Copy link
Contributor

@itsisak itsisak commented Oct 15, 2025

  • Add MOCK_REQUESTS env to avoid using the actual endpoints for developent
  • Run backend on port 8080 instead of 5000 to not conflict with os ports
  • Add react query devtools
  • Display dashboard data even if last fetch failed
  • Implement a wrapper class for getters so that it will return the last successful result instead of failing

@itsisak itsisak self-assigned this Oct 15, 2025
@itsisak itsisak changed the title Mock backend requests Mock requests and display last successful data even if API fails Oct 15, 2025
Copy link
Contributor

@ch0rizo ch0rizo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gracefully good 🪨

Copy link

@Viljen789 Viljen789 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Magnificent work!

@itsisak itsisak merged commit 3517acd into master Oct 29, 2025
2 checks passed
@itsisak itsisak deleted the mock-requests branch October 29, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants