DEV Community

Shekhar Sahu
Shekhar Sahu

Posted on

2 1

Using Rack::Proxy to serve multiple React Apps on the same domain.

Link: https://blog.joshsoftware.com/2019/09/03/using-rackproxy-to-serve-multiple-react-apps-on-the-same-domain/

We had 4 React apps running on the local server. All apps were running on different ports because we can not start multiple React Apps on the same port. We had to build a single sign-on server. Out of 4 react apps one will be responsible for managing authentication and based on roles or department redirecting to other apps. The Auth app will get token from Auth API and will store it to local storage, and other apps will be using this token for authentication while calling APIs.

Top comments (0)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay