Hello I am new here Please advise a guide on how to deploy two parts of the project on ts: back(node express) and front (next react)
My server uses several ports for fetch 5000 for sokcet 400 how to set this up correctly? I need the project to be able to update and scale in the future I ask just link to appropriane guide because library of tutorials is huge here Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello and welcome! 👋
Deploying a project with both a Node.js backend (using Express) and a frontend (using Next.js) can be done in several ways on DigitalOcean. Here’s a brief overview of three popular options—App Platform, Droplets, and Kubernetes—and their pros and cons.
1. DigitalOcean App Platform
Benefits:
Downsides:
Getting Started: You can follow this guide to deploy your apps using the DigitalOcean App Platform:
2. Droplets
Benefits:
Downsides:
Getting Started: Check out this guide to set up your project on a DigitalOcean Droplet:
3. Kubernetes Cluster
Benefits:
Downsides:
Getting Started: For deploying your project on Kubernetes, follow this guide on setting up a Kubernetes Cluster on DigitalOcean:
So to put this into perspective:
Each option has its pros and cons, so choose the one that best fits your project’s current needs and future scalability plans. Good luck with your deployment!
Let me know if you have any questions!
- Bobby