Heroku is a cloud platform as a service (PaaS) supporting several programming languages. which allows you to build server-side and networking applications. node .js It’s written in JavaScript and can be run within the Node.js runtime on any platform.
Requirements:
Heroku Account
Node.js Software: JavaScript runtime
GIT Software: Distributed version control system
GitHub Account: GIT repository sharing hub
Heroku CLI Software: Heroku command line interface
```heroku login
// Initialize a Git repository
git init
// Point remote address towards your Heroku app
heroku git:remote -a your-app-name
// Add all files in Git
git add .
// Commit all files
git commit -am “Initial commit”
// Deploy all files on Heroku
git push heroku master
We can start our application locally using the heroku local command.