DEV Community

Cover image for Deploy nestjs application to heroku (Success)
ILshat Khamitov
ILshat Khamitov

Posted on

Deploy nestjs application to heroku (Success)

Login in heroku

https://www.heroku.com/

Create new application in heroku

https://dashboard.heroku.com/new-app

Create new application in heroku

Connect exists repository from github to created application

https://dashboard.heroku.com/apps/kaufman-bot/deploy/github

Connect exists repository from github to created application

Set branch name if not main

Set branch name if not main

And click to Enable Automatic Deploys

After it click to deploy
After it click to deploy

Wait...

Check output of site

curl https://kaufman-bot.herokuapp.com/api

endy@endy-virtual-machine:~/Projects/current/kaufman-bot$ curl https://kaufman-bot.herokuapp.com/api
{"message":"Welcome to server!"}endy@endy-virtual-machine:~/Projects/current/kaufman-bot$ 
Enter fullscreen mode Exit fullscreen mode

It was easy!!!

Oldest comments (0)