Skip to content

Commit 3b7cc15

Browse files
docs: update deployment page
1 parent e2926ec commit 3b7cc15

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

content/deployment.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Before deploying your NestJS application, ensure you have:
1212
- Any required services, like a database, set up and ready to go.
1313
- At least an LTS version of Node.js installed on your deployment platform.
1414

15+
> info **Hint** If you are looking for a cloud-based platform to deploy your NestJS application, check out [Mau](https://mau.nestjs.com/), our official platform for deploying NestJS applications on AWS.
16+
1517
#### Building your application
1618

1719
To build your NestJS application, you need to compile your TypeScript code into JavaScript. This process generates a `dist` directory containing the compiled files. You can build your application by running the following command:
@@ -114,7 +116,7 @@ This process is straightforward with containerization technologies like [Docker]
114116

115117
There are a few more tips to keep in mind when deploying your NestJS application:
116118

117-
- **Security**: Ensure your application is secure and protected from common threats like SQL injection, XSS, etc. Check out [Helmet chapter](/security/helmet) for more details.
119+
- **Security**: Ensure your application is secure and protected from common threats like SQL injection, XSS, etc. See the "Security" category for more details.
118120
- **Monitoring**: Use monitoring tools like [Prometheus](https://prometheus.io/) or [New Relic](https://newrelic.com/) to track your application's performance and health. If you're using a cloud provider/Mau, they mau offer built-in monitoring services (like [AWS CloudWatch](https://aws.amazon.com/cloudwatch/) etc.)
119121
- **Do not hardcode environment variables**: Avoid hardcoding sensitive information like API keys, passwords, or tokens in your code. Use environment variables or a secrets manager to store and access these values securely.
120122
- **Backups**: Regularly back up your data to prevent data loss in case of an incident.
@@ -226,4 +228,29 @@ With Mau, provisioning and maintaining your infrastructure is as simple as click
226228

227229
<figure><img src="/assets/mau-metrics.png" /></figure>
228230

231+
With [Mau](https://mau.nestjs.com/), you can:
232+
233+
- Deploy your NestJS applications with just a few clicks (APIs, microservices, etc.).
234+
- Provision **databases** such as:
235+
- PostgreSQL
236+
- MySQL
237+
- MongoDB (DocumentDB)
238+
- Redis
239+
- more
240+
- Set up broker services like:
241+
- RabbitMQ
242+
- Kafka
243+
- NATS
244+
- Deploy scheduled tasks (**CRON jobs**) and background workers.
245+
- Deploy lambda functions and serverless applications.
246+
- Setup **CI/CD pipelines** for automated deployments.
247+
- And much more!
248+
249+
To deploy your NestJS application with Mau, just run the following command:
250+
251+
```bash
252+
$ npm install -g @nestjs/mau
253+
$ mau deploy
254+
```
255+
229256
Sign up for [Mau](https://mau.nestjs.com/) today and deploy your NestJS applications with ease!

0 commit comments

Comments
 (0)