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

https://github.com/xaxtric7/xo_node.js

πŸ“ŒThis repository is dedicated to practicing and experimenting with Node.js concepts
https://github.com/xaxtric7/xo_node.js

backend nodejs

Last synced: over 1 year ago
JSON representation

πŸ“ŒThis repository is dedicated to practicing and experimenting with Node.js concepts

Awesome Lists containing this project

README

          

# πŸ“Œ Node.js Practice Repository

Welcome to my **Node.js Practice Repository**! πŸš€

This repository is dedicated to practicing and experimenting with **Node.js** concepts, including:
βœ… Setting up a basic server
βœ… Working with Express.js
βœ… Handling file operations
βœ… Using middleware
βœ… Implementing authentication using JWT
βœ… Connecting to databases
βœ… Creating APIs

## πŸ›  Tech Stack

- **Node.js**
- **Express.js**
- **jsonwebtoken (JWT)** for authentication
- **Nodemon** for development

## πŸ”₯ Getting Started Documentations

- [**Node.js docs**](https://nodejs.org/docs/latest/api/)
- [**Express.js docs**](https://expressjs.com/)

### 1️⃣ Clone the repository

```sh
git clone https://github.com/your-username/nodejs-playground.git
cd nodejs-playground
```

### 2️⃣ Initialize a Node.js project

```sh
npm init -y
```

### 3️⃣ Install dependencies

```sh
npm install express jsonwebtoken
```

### 4️⃣ Install development dependencies

```sh
npm install nodemon --save-dev
```

### 5️⃣ Add a start script in `package.json`

Modify the `"scripts"` section like this:

```json
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js"
}
```

### 6️⃣ Run the project

Start the server using:

```sh
npm run dev
```

or

```sh
node index.js
```

## πŸš€ Goals of This Repository

- To explore **Node.js fundamentals**
- To build **mini-projects** and test features
- To improve backend development skills

---