đDeploy a Nestjs Application on Clouddley Apps
Learn how to deploy a Nestjs app on Clouddley Apps
Last updated
Learn how to deploy a Nestjs app on Clouddley Apps
Last updated
After choosing Nest.js as your framework to build a scalable Node.js application, you can leverage Clouddley Apps, a SaaS platform to deploy your application. This guide will walk you through the process of building a Nest.js application from the ground up and deploying it on AWS using Clouddley Apps.
Install NPM and Nodejs
A Clouddley account
In your Clouddley account, create the following:
AWS account
Install Nestjs CLI
In your terminal, run the command
Create a new Nestjs project
Type in this command in your CLI
Select the package manager of your choice. Select npm
Wait while your template is being generated. Once it's complete, you should see the following output :
Test your Nestjs app on your browser
Create a repository and push your code to GitHub
Run the commands below:
Feel free to explore our source code here
Create an App on Clouddley Apps
Sign in to your Clouddley account and navigate to the Apps section.
Then, select Add app to initiate the creation of a new application.
Enable Git integration for your Clouddley Apps
Configure Git settings by selecting the Username/Organization, source code repository, and preferred branch.
Configure your Cloud Provider
To set up the cloud provider, choose the desired Git connection for configuration.
Configure your Application
To set up your application, follow these steps:
Enter your application's name.
Choose the project.
Set the application's port.
Select the repository type source code.
Select the runtime; in this case, we'll use Node.js 16.
Enter the build command:
npm i && npm run build
Enter the start command:
npm run start
Configure your App settings
Networking: Configure how your service establishes connections with other applications, services, and resources. Within Clouddley apps, you have the option to select between Public access and VPC connections.
Your service has the capability to transmit outgoing messages exclusively to public network endpoints. This is the default networking.
Create your App
Select Create App. This action will direct you to your app dashboard, and once the app deployment finishes, the app status transitions from deploying
to running
Your application is now accessible via the URL displayed on your app dashboard.
Youâve successfully deployed your Nestjs application on Clouddley Apps.
With your Nest.js Application successfully deployed on Clouddley Apps, you've established a solid foundation for a smooth user experience, creating opportunities for future expansion and scalability. Now, you can enhance your application by creating additional features and customizations. You can also check out how to deploy other frameworks here.