📖 Topics Covered
Introduction to Node.js
Understanding what Node.js is and why it's used
History
Initially written by Ryan Dahl in 2009, now maintained by Node.js Foundation
Node.js vs Browser
Runtime environment for executing JavaScript on the server-side
Running Node.js Code
Created index.ts file & used http module to create a server
Modules
Created log.ts file & used it in index.ts
Creating & Importing
Imported log.ts file and used logInfo function to log messages
Global Keyword
In browsers we have window object but in node.js we have only top-level scope in same module
💻 Exercises & Projects
Created a simple server using index.js & log.ts where I used http module to create a server & logInfo function to log messages. Also, I used chalk module to log messages in different colors.