Node.js + Express - Starter Template
Deploy a starter template Node.js app using the Express framework on Aptible
Overview
The following guide is designed to help you deploy a sample Node.js app using the Express framework from the Aptible Dashboard.
Deploying the template
Using the Deploy Code tool in the Aptible Dashboard, you can deploy the Express Template. The tool will guide you through the following:
Deploy with Git Push
Add an SSH key
If you have not done so already, you will be prompted to set up an SSH key.
Environment Setup
Select your Stack to deploy your resources. This will determine what region your resources are deployed to. Then, name the Environment your resources will be grouped into.
Prepare the template
Select Express Template for deployment, and follow command-line instructions.
Fill environment variables and deploy
Aptible will automatically fill this template’s required databases, services, and app’s configuration with environment variable keys for you to fill with values. Once complete, save and deploy the code!
Aptible will stream logs to you in live time:
Expose your app to the internet
Now that your code is deployed, it’s time to expose your app to the internet. Select the service that needs an endpoint, and Aptible will automatically provision a managed endpoint.
View your deployed app
Continue your journey
Deploy custom code
Read our guide for deploying custom code on Aptible.
Was this page helpful?