This is a repo for trying out the examples and practices in NodeJS Official Documentation Learning Path in order to learn and explain the basics of NodeJS.
You can check the code samples about:
- Creating a basic Http Server
- Reading Environment Variables From CLI
- Accepting arguments from CLI
- Calculating the execution time of a function with console.time() and console.timeEnd()
- Accepting inputs from CLI
- Using 'module.exports' for exporting an object from a file and importing that object in another file
- Using 'exports' for exporting an object from a file and importing that object in another file
- Understanding Event Loop, Call Stack, Message Queue and Job Queue
- Using setTimeout, setInterval and clearInterval
- Callback functions and how to use them
- Portfolio - Fatih Özoğlu
- Linkedin - Fatih Özoğlu
This project consist of several standalone Javascript files for different exercises and practises. You can download or clone this repo and run commands (provided in each file) in CLI to see the results.
Install all packages from package.json with this command:
npm install