Configuring a local server for production-like testing
Before we move on to the actual configuration, let’s make sure we have our NestJS application ready.
Preparing your NestJS application for deployment
Before diving into the deployment process, it’s essential to have a concrete project to work with. For this chapter, we will use the e-commerce application developed in Chapter 12 as our reference use case. This REST API project provides a comprehensive base that can be applied to other projects in the future, making it an ideal starting point.
To follow along, you’ll need to do the following:
- Use the Chapter 12 project: We recommend using the e-commerce application from Chapter 12 as it covers a broad range of functionalities, including REST API endpoints, database integration, and authentication mechanisms. If you’ve already worked through Chapter 12, ensure your project is up and running locally.
- Clone the repository: If you don...