Skip to content

feat: introduce dev mode with mock overpass endpoint - #82

Merged
KristjanESPERANTO merged 1 commit into
opening-hours:mainfrom
KristjanESPERANTO:dev
Jul 21, 2026
Merged

feat: introduce dev mode with mock overpass endpoint#82
KristjanESPERANTO merged 1 commit into
opening-hours:mainfrom
KristjanESPERANTO:dev

Conversation

@KristjanESPERANTO

Copy link
Copy Markdown
Member

During development, I keep running into CORS, 429, and timeout issues with the public Overpass servers, even when working on changes that do not require real requests. This makes development unnecessarily slow and frustrating.

My idea was to add a development script (npm run dev) that starts the map with local mock data. This allows the UI to be developed and tested reliably without depending on the availability or rate limits of the Overpass servers.

@KristjanESPERANTO
KristjanESPERANTO merged commit 8fc095e into opening-hours:main Jul 21, 2026
1 check passed
@KristjanESPERANTO
KristjanESPERANTO deleted the dev branch July 21, 2026 06:19
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.

2 participants