Need Help Deploying My Monorepo with Multiple Apps

0
9
Asked By TechieNinja42 On

I'm currently trying to deploy a monorepo that includes three applications: a Frontend server, an Express HTTP server, and a WebSocket server. The issue is that most of the shared database logic is stored in the `/packages` directory of the monorepo. I'm attempting to deploy this project on Railway, but I've faced failures in all of my deployment attempts. Here's a brief overview of my project structure, which utilizes Turborepo: it has a folder for apps, including the frontend, http, and websocket components, along with a packages directory for shared logic. Can anyone provide suggestions for successfully deploying this setup?

3 Answers

Answered By AspiringDev01 On

If you're really stuck, consider hiring someone who has more experience with deployments. Sometimes it's worth it to get expert help, especially if it's a critical project.

Answered By LocalRunner99 On

I managed to clone the project and run it locally on my EC2 instance, just figuring out NGINX and reverse proxy now. Thanks for the suggestion! I really hope this approach works out.

Answered By CloudWizard88 On

Have you thought about deploying everything on a single VM, like using an EC2 instance on AWS? It might simplify things. Also, looking into Dockerizing your apps could help, so they follow cloud-native architecture principles. That way, you can manage dependencies better. Good luck!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.