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
- Host: GitHub
- URL: https://github.com/xaxtric7/xo_node.js
- Owner: XaXtric7
- License: mit
- Created: 2025-03-05T13:32:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-05T13:54:44.000Z (over 1 year ago)
- Last Synced: 2025-03-05T14:33:49.430Z (over 1 year ago)
- Topics: backend, nodejs
- Language: JavaScript
- Homepage:
- Size: 1.03 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
---