Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saleh-coder/nodejs-fundamentals

Study project for learning Node.js fundamentals
https://github.com/saleh-coder/nodejs-fundamentals

learning-nodejs nodejs-fundamental npm study-project yarn

Last synced: about 1 month ago
JSON representation

Study project for learning Node.js fundamentals

Awesome Lists containing this project

README

        

# Node.js Fundamentals

This repository is intended for **study purposes** to explore and learn the fundamentals of **Node.js**. It contains various projects and examples to help you understand key concepts and tools used in Node.js development.

## 📁 Directory Structure

```
nodejs-fundamentals/
├── about-node/ # Documentation and resources about Node.js
├── ecmascript-modules/ # Example of ECMAScript modules in Node.js
├── node-modules/ # Custom Node.js modules and packages
└── packages/ # Contains multiple Node.js projects
```

### 🗂 **about-node**

This folder includes documentation and resources to learn about **Node.js** core concepts and how it compares to other platforms.

### 🗂 **ecmascript-modules**

An example project demonstrating the use of **ECMAScript modules** in Node.js. It includes the setup for `import`/`export` and how to use them in a Node.js environment.

### 🗂 **node-modules**

Contains custom **Node.js modules** that are used across different projects in this repository. These modules illustrate how to write and organize reusable code in Node.js.

### 🗂 **packages**

This directory contains several subprojects, each demonstrating a different Node.js use case:

- **`about-package-json/`**: Configuration files for npm and yarn package managers.
- **`project_1/`**: A simple web server project.
- **`project_2/`**: A project to scrape quotes and save them in a file.
- **`project_3/`**: A CLI tool to manage user data with basic CRUD operations.

## 🚀 How to Use

1. **Install Dependencies**:
Choose either **npm** or **yarn** and install the necessary packages.

```bash
# Using npm
npm install
# or using yarn
yarn install
```

2. **Run the Projects**:

- Navigate to the specific project folder (e.g., `project_1`).
- Run the project using:

```bash
node index.js
```

3. **Interact with Project 3**:
- `project_3` runs an interactive CLI program for managing user data. Simply start the project with `node index.js` and follow the on-screen prompts.

## 📄 License

This repository is for **study purposes** and is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.