How to get your Node.js API live in 5 minutes

Ready to put your Full-Stack Core plan to work? You don't need a command line to deploy your Express or Node.js backend. We have a built-in GUI to spin up your container instantly.

Step-by-Step Deployment:

  1. Log into your cPanel via your client dashboard.

  2. Scroll down to the Software section and click on Setup Node.js App.

  3. Click the blue Create Application button.

  4. Fill in the required fields:

    • Node.js Version: Select the version you built your app with (e.g., 18.x).

    • Application Mode: Choose Production (this hides dev errors from the public).

    • Application Root: Type the folder name where your code will live (e.g., backend_api).

    • Application URL: Choose the domain or subdomain where the API will be accessible.

    • Application Startup File: Type the name of your main file (usually server.js or app.js).

  5. Click Create.

Next Steps: Now that the container is running, go to the File Manager in cPanel, open the backend_api folder you just created, and upload your project files (do not upload your node_modules folder!). Once uploaded, go back to the Node.js App screen, click Run NPM Install, and restart the app. Your API is now live!

  • 1 Uživatelům pomohlo
Byla tato odpověď nápomocná?

Související články

???? How to Upload a Custom PHP + MySQL Project

Moving your PHP project from your local localhost (like XAMPP) to the live cloud takes about 3...