ericfortis/mockaton
View on GitHub ↗ ★ 23 JavaScript
HTTP Mock Sever
19 mentions on Hacker News by 1 person: 2 stories, 17 comments · first 2024-07-01 · latest 2026-04-26
20082026
-
same here, but linking to the screenshots used for pixel diffing, which get committed to the repo. https://github.com/ericfortis/mockaton/tree/main/pixaton-tes...
comment by efortis · 2026-04-26 · in Self-updating screenshots -
HTTP mock servers I’m working on mockaton, which is mainly a filename convention based router. https://github.com/ericfortis/mockaton
comment by efortis · 2026-04-01 · in Ask HN: What dev tools do you rely on that nobody talks about? -
I just refactored my colors to use the light-dark function: https://github.com/ericfortis/mockaton/commit/acf21803480412... …and it deduplicated autocomplete suggestions in WebStorm
comment by efortis · 2026-02-16 · in Modern CSS Code Snippets: Stop writing CSS like it's 2015 -
…If the auth service sets a cookie with a JWT, you could inject that cookie with Mockaton like this: https://github.com/ericfortis/mockaton/blob/354d97d6ea42088b... 2b. If it doesn't set a cookie (some SSO providers set it in…
comment by efortis · 2026-02-13 · in Ask HN: How do founders demo real product without exposing sensitive data? -
…v) elem.append(...children.flat().filter(Boolean)) return elem } `restoreFocus` is here: https://github.com/ericfortis/mockaton/blob/main/src/client/... Results so far: Rendering the whole DOM tree (instead of VDOMs) is a fast process. The…
comment by efortis · 2026-01-12 · in How to Build Reactive Declarative UI in Vanilla JavaScript -
Experimenting with native css modules. They will land in Firefox in two weeks https://github.com/ericfortis/mockaton/issues/2
comment by efortis · 2026-01-03 · in Ask HN: What are you working on? (Jan 2026) -
…'moderate' } ] That doesn't work on Safari, FF, and Brave, but you could do something like this: https://github.com/ericfortis/mockaton/blob/main/www/src/_as...
comment by efortis · 2025-12-31 · in A super fast website using Cloudflare workers -
…server with a UI dashboard for changing responses on the fly. For example, for testing retries. https://github.com/ericfortis/mockaton
comment by efortis · 2025-12-15 · in Ask HN: What Are You Working On? (December 2025) -
…server with a UI dashboard for changing responses on the fly. For example, for testing retries. https://github.com/ericfortis/mockaton
comment by efortis · 2025-11-29 · in Ask HN: What Are You Working On? -
…// but mergeChildren } Here's an example of using that helper: https://github.com/ericfortis/mockaton/blob/main/src/client/...
comment by efortis · 2025-11-15 · in I made a better DOM morphing algorithm -
…Server with a dashboard UI for changing mock variants on the fly. For example, for testing retries. https://github.com/ericfortis/mockaton
comment by efortis · 2025-11-10 · in Ask HN: What Are You Working On? (Nov 2025) -
…a merge DOM function or native API, we can get the benefits of React with a few utilities. [1] https://github.com/ericfortis/mockaton/blob/main/src/Dashboa... --- > Is there a better model? IMO, React class components with something like…
comment by efortis · 2025-10-23 · in React vs. Backbone in 2025 -
…return node } Working example of a dashboard for a mock server: https://github.com/ericfortis/mockaton/blob/main/src/Dashboa...
comment by efortis · 2025-04-19 · in JavaScript Views, the Hard Way – A Pattern for Writing UI -
…{ pollMyEvents.isPolling = false setTimeout(pollMyEvents, 5000) } } Working example at Mockaton: https://github.com/ericfortis/mockaton/blob/6b7f8eb5fe9d3baf...
comment by efortis · 2025-04-12 · in You might not need WebSockets -
…Other than that you can pretty much get away with a small createElement helper like this one: https://github.com/ericfortis/mockaton/blob/main/src/Dashboa...
comment by efortis · 2025-03-30 -
▲ 1
Show HN: Mockaton. Mock Your APIs, Enhance Your Development Workflowstory by efortis · 2025-01-23 · 0 comments
-
…the following file will be served for: /api/user/1234 my-mocks-dir/api/user/[user-id].GET.200.json https://github.com/ericfortis/mockaton
comment by efortis · 2024-11-17 · in Ask HN: What have you built this year that you are proud of? -
…version ended up being my goto helper for small UIs. For example, I use it in mockaton here: https://github.com/ericfortis/mockaton/blob/7e6ad6226d7ed48e... So if at some point I need React I can simply delete my version of createElement
comment by efortis · 2024-08-24 · in Implementing React from Scratch -
▲ 2
Show HN: Mockaton – Mock Server for a Better UI DXstory by efortis · 2024-07-01 · 0 comments