Why do salesforce developers need Nodejs?
Node js applications can be deployed on Heroku as well
At Dreamforce salesforce functions were announced, a powerful serverless runtime to deliver connected experiences with elastic scale.First planned supported runtime for Salesforce Functions is Node.js – making it a must-learn technology to create pro-code applications on the Salesforce Platform.
Demo1: Simple node js application
Using Node js we will host a server, and host webservices. And using browser/tools we will call those apis. We will use express.js framework for this. Express is a minimal and flexible Node.js web application framework that provides a robust set of features to develop web and mobile applications. It facilitates the rapid development of Node based Web applications.
Demo 2: Complex application using Nodejs
Ecars application shows how the fictitious Pulsar Motors uses the Salesforce Platform. It includes technologies like Sales Cloud, Service Cloud, source-driven development, event-driven architecture, Lightning Web Components, Heroku, Node.js services, a Progressive Web App, streaming data, Internet of Things, Postgres, and Apache Kafka.