Welcome to my Node.js learning repository! This repository contains the code and projects I've created while learning Node.js. Feel free to explore the contents and use them as a reference or inspiration for your own learning journey.
To get started with these projects, follow these steps:
-
Fork this repository
-
Navigate to the project directory:
cd nodejs-learning -
Clone the repository from your personal github to your computer:
git clone https://github.com/PromPromm/nodejs_altschool.git
-
Install dependencies (if any):
npm install
Now you're ready to explore and run the projects!
Explore how to import external packages using the ES6 import statement and require statement
- Usage:
-
Navigate to the project directory:
cd external_package -
Run the file you wish to; app.js or app-single.js
npm app.js
Explore how to create and import local modules(modules you created yourself)
- Usage:
-
Navigate to the project directory:
cd local_modules -
Run the file you wish to; app.js or my-math-lib.js
npm app.js
Explore some functions in the inbuilt os module
- Usage:
-
Navigate to the project directory:
cd os -
Run the app.js file
npm app.js
Explore some functions in the inbuilt path module
- Usage:
-
Navigate to the project directory:
cd path -
Run the app.js file
npm app.js
Explore some functions in the inbuilt process module
- Usage:
-
Navigate to the project directory:
cd process -
Run the file you wish to; app.js or display.js
npm app.js
Note When running the display.js file add arguments to the terminal like:
npm display.js Jane 18
Note: This repository is primarily for my personal learning purposes, and the code here may not adhere to best practices as I'm still in the learning phase. I appreciate your interest, but please refrain from sending pull requests, as they will not be merged.
If you find issues or have suggestions, feel free to create an issue for discussion. However, for learning purposes, it's recommended to make changes in your local repository or cloned version.
Thank you for your understanding!