---
title: "Discussion on \"The one about multi-API support in legacy code\" | Hashnode"
description: "Discussion on \"The one about multi-API support in legacy code\". Learn how I refactored a legacy Sinatra proxy and React SPA to support multiple APIs with improved testing and essential dev-to-production parity."
url: "https://hashnode.com/posts/the-one-about-multi-api-support-in-legacy-code/69c19f1630a9b81e3aa07ca0"
---

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

Discussion

# [The one about multi-API support in legacy code](https://davidmontesdeoca.dev/the-one-about-multi-api-support-in-legacy-code?utm_source=hashnode&utm_medium=feed)

Learn how I refactored a legacy Sinatra proxy and React SPA to support multiple APIs with improved testing and essential dev-to-production parity.

Mar 23 · 10 min read · davidmontesdeoca.dev  
Updated Jul 5  
Read the article

-   [#ruby](https://hashnode.com/tag/ruby)
-   [#sinatrarb](https://hashnode.com/tag/sinatrarb)
-   [#legacy-code](https://hashnode.com/tag/legacy-code)
-   [#spa](https://hashnode.com/tag/spa)
-   [#api](https://hashnode.com/tag/api)
-   [#proxy](https://hashnode.com/tag/proxy)
-   [#refactoring](https://hashnode.com/tag/refactoring)
-   [#testing](https://hashnode.com/tag/testing)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[David Montesdeoca](https://hashnode.com/@backpackerhh)

@backpackerhh · Gran Canaria, Canary Islands

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

Software Engineer

I love learning new stuff, especially when it comes to building software. I'm really interested in software architecture, clean code, testing and best practices.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
