---
title: "Discussion on \"Shared HTTP Mocks Across a Monorepo: When Fakes Aren''t the Right Tool\" | Hashnode"
description: "Discussion on \"Shared HTTP Mocks Across a Monorepo: When Fakes Aren''t the Right Tool\". The previous two posts covered Fakes for internal services — but external HTTP APIs don''t fit that pattern. This post shows how to share HTTP mocks across frontend and backend in a monorepo using MSW / msw-fetch-mock, complementing the Fake approach."
url: "https://hashnode.com/posts/monorepo-shared-http-mock/69e56c1a59dedcf378b1de21"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Shared HTTP Mocks Across a Monorepo: When Fakes Aren''t the Right Tool](https://recca0120.hashnode.dev/monorepo-shared-http-mock?utm_source=hashnode&utm_medium=feed)

The previous two posts covered Fakes for internal services — but external HTTP APIs don''t fit that pattern. This post shows how to share HTTP mocks across frontend and backend in a monorepo using MSW / msw-fetch-mock, complementing the Fake approach.

Apr 19 · 6 min read · recca0120.hashnode.dev  
Read the article

-   [#monorepo](https://hashnode.com/tag/monorepo)
-   [#msw](https://hashnode.com/tag/msw)
-   [#testing](https://hashnode.com/tag/testing)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#vitest](https://hashnode.com/tag/vitest)

## Written by

[recca0120](https://hashnode.com/@recca0120)

@recca0120 · Taipei, Taiwan

  
[View profile](https://hashnode.com/@recca0120)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
