Hacker GitHub

← All repos

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

Mentions per year 19 mentions · busiest year 2025 (10)
20082026
  1. 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
  2. HTTP mock servers I’m working on mockaton, which is mainly a filename convention based router. https://github.com/ericfortis/mockaton
  3. 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
  4. …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…
  5. …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…
  6. Experimenting with native css modules. They will land in Firefox in two weeks https://github.com/ericfortis/mockaton/issues/2
  7. …'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...
  8. …server with a UI dashboard for changing responses on the fly. For example, for testing retries. https://github.com/ericfortis/mockaton
  9. …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?
  10. …// 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
  11. …Server with a dashboard UI for changing mock variants on the fly. For example, for testing retries. https://github.com/ericfortis/mockaton
  12. …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
  13. …return node } Working example of a dashboard for a mock server: https://github.com/ericfortis/mockaton/blob/main/src/Dashboa...
  14. …{ 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
  15. …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
  16. ▲ 1
    Show HN: Mockaton. Mock Your APIs, Enhance Your Development Workflow
    story by efortis · 2025-01-23 · 0 comments
  17. …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
  18. …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
  19. ▲ 2
    Show HN: Mockaton – Mock Server for a Better UI DX
    story by efortis · 2024-07-01 · 0 comments