# rails기반 React SSR기반에서 클라이언트 서버로 분리하기까지

> Clean Markdown view of GeekNews topic #5480. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=5480](https://news.hada.io/topic?id=5480)
- GeekNews Markdown: [https://news.hada.io/topic/5480.md](https://news.hada.io/topic/5480.md)
- Type: news
- Author: [back3122](https://news.hada.io/@back3122)
- Published: 2021-12-03T15:11:55+09:00
- Updated: 2021-12-03T15:11:55+09:00
- Original source: [bucketplace.co.kr](https://www.bucketplace.co.kr/post/2021-12-03-%EC%98%A4%EB%8A%98%EC%9D%98%EC%A7%91-msa-phase-1-%ED%94%84%EB%A1%A0%ED%8A%B8%EC%97%94%EB%93%9C-%EB%B6%84%EB%A6%AC%EC%9E%91%EC%97%85/)
- Points: 2
- Comments: 0

## Topic Body

오늘의집은 react-rails를 사용하여 React를 서버사이드 랜더링하는 구조로 개발되어 있었음

- 기존 erb라는 템플릿언어 기반에 React를 붙이기 위해 react-rails를 사용하게 됨

- 클라이언트 자체가 ruby on rails에 의존하다보니 개발환경 구성이 어려워질 뿐만 아니라 클라이언트 로직과 관련된 서버 수정이 필요할 때 ruby 코드를 수정해야하는 이슈가 발생하였음

그래서 오늘의집에 맞는 클라이언트 서버를 개발을 진행함

- git subtree를 사용하여 히스토리를 보존한 채 저장소를 분리함

- 기존 ruby 서버를 의존하는 형태로 만들어져 있어 적절한 오픈소스를 찾기 어려워 클라이언트 서버를 상황에 맞게끔 새로 개발하게 되었음

## Comments



_No public comments on this page._
