Put in order · NestJS course · Module 9: Deployment and Infrastructure
Preparing for Production
Arrange the steps for preparing a NestJS application for production:
Items to put in order
- Add helmet, compression, CORS
- Run node dist/main in production
- Run nest build
- Configure environment variables
You can check the correct answer by solving this task in the CodeWorlds game.