Node.js is non-blocking (can run multiple tasks, and keeps processing tasks while waiting for response) and is less heavy on system resources like memory and processing speed.
- Check version
- Run file
node at the command line and it will open a read-evaluate-print-loop (interactive REPL), like Python. To exit, press ctrl+c twice.
Create a file called app.js
console.log('Bonjour la monde!');
Run the file from the command line
Project: Parse JSON data using Node.js
- connect to the API URL
- read the data
- parse the data
- print the data