Company
Date Published
Author
Olususi Oluyemi
Word count
1707
Language
English
Hacker News points
None

Summary

Deploying a Nest.js application to Heroku can be streamlined using CircleCI for continuous deployment, a process that eliminates the traditional and tedious FTP method. This tutorial guides users through setting up a Nest.js application, creating a mock product list, and defining endpoints, before configuring continuous deployment. It requires prerequisites like Node.js, Nest CLI, a GitHub or GitLab account, and accounts on CircleCI and Heroku. Users learn to push their project to a repository, create a Heroku app, and configure CircleCI for automatic deployment by setting environment variables and updating application ports. The tutorial culminates in the successful deployment of the application to Heroku using a Procfile to specify startup commands, with the full project code available on GitHub for reference.