The deployment process is pretty much the same for different NodeJS frameworks, as we use the same package manager and server.
To deploy a NodeJS application, click "Create a service" in the top-left corner of your Dashboard and choose Back-end application.
Connect your Git account and choose the repository to deploy.
Like all back-end applications, NodeJS must run on a specific cloud server. Choose the location and configuration of this cloud server. You can upgrade it in the future.
Choose your framework in the App customization window. Make sure the name of the main file in the Start command is the same one you're using. We use pm2 as the process manager for all NodeJS frameworks because it's fast, reliable and scalable.
Click Deploy when you've checked all the parameters.
You'll see the deployment in progress. When it's complete, you'll receive a notification. You can also send these notifications to your Slack.
Usually it takes some time to install the cloud server during the first deployment.
First of all, check the deployment log. You'll see the stage where something went wrong.
The most common issues are with the launch command. Check that everything is working properly with pm2 in your development environment. Check that all the modules you need to launch the application are in the package.json file.
Also, we are here to help, so don't hesitate to ask us about the causes via chat.