Skip to content

About

Learning and building backend applications with Node.js, from fundamentals to real-world projects.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Node.js Backend Development 🚀

A collection of my Node.js backend development projects and practice work, covering Node.js fundamentals, Express.js, REST APIs, authentication, file uploads, MongoDB, and related backend concepts.

This repository is continuously updated as I learn and build more projects.

📂 Projects

01 — HTTP Server

Basic HTTP server built using Node.js core http module.

Topics Covered:

  • Node.js HTTP module
  • Creating a server
  • Request and response handling
  • Routing
  • Query parameters
  • File System (fs)
  • URL handling
  • Logging requests

02 — Express.js Server

Introduction to building servers and APIs with Express.js.

Topics Covered:

  • Express.js
  • Routes
  • Request and response
  • Middleware
  • Query parameters
  • Route handling
  • Nodemon

03 — REST API Project

A REST API project built with Express.js.

Topics Covered:

  • REST API
  • HTTP methods
  • GET, POST, PATCH, DELETE
  • API routes
  • Middleware
  • JSON data
  • Postman API testing
  • CRUD operations

04 — Short URL — Stateful Authentication

A URL shortener application with stateful authentication.

Topics Covered:

  • URL shortening
  • Express.js
  • MongoDB
  • Mongoose
  • MVC architecture
  • EJS
  • Cookies
  • Cookie-based authentication
  • Middleware
  • Controllers
  • Routes
  • Models

05 — Short URL — Stateless Authentication

A URL shortener application using stateless authentication.

Topics Covered:

  • URL shortening
  • REST APIs
  • JWT authentication
  • Register and Login
  • Authentication middleware
  • Protected routes
  • MongoDB
  • Mongoose
  • MVC architecture

06 — Image Upload

Backend project for uploading images using Node.js and Express.js.

Topics Covered:

  • File uploads
  • Multer
  • Express.js
  • Multipart/form-data
  • File handling
  • Upload middleware

🛠️ Technologies

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JavaScript
  • EJS
  • JWT
  • Multer
  • REST APIs
  • Postman
  • Git & GitHub

📚 What I'm Learning

This repository documents my journey in backend development.

Node.js

  • HTTP servers
  • File System
  • URL module
  • Modules
  • NPM
  • Asynchronous programming

Express.js

  • Routing
  • Middleware
  • REST APIs
  • Error handling
  • MVC architecture

MongoDB & Mongoose

  • Database connection
  • Schemas
  • Models
  • CRUD operations
  • MongoDB queries

Authentication

  • Stateful authentication
  • Stateless authentication
  • Cookies
  • JWT
  • Protected routes
  • Authentication middleware

Backend Development

  • REST API development
  • API testing with Postman
  • File uploads
  • Project structure
  • Error handling

📁 Repository Structure

Node.js/
│
├── 01-http-server/
├── 02-express.js-server/
├── 03-Rest-API-Project/
├── 04-short-url-Statefull-Authentication/
├── 05-short-URL-Stateless-Authentication/
├── 06-ImageUpload/
│
├── .gitignore
├── LICENSE
└── README.md

🚀 How to Run a Project

Clone the repository:

git clone https://github.com/HafizIkrashSE/Node.js.git

Go into the repository:

cd Node.js

Then move into the required project:

cd 01-http-server

Install dependencies if the project has a package.json:

npm install

Run the project:

npm start

Each project may have different dependencies and setup requirements. Check the project files for specific instructions.


🎯 Goal

My goal is to build a strong foundation in backend development with Node.js, followed by developing full-stack applications using the MERN stack.

I will continue adding new projects and concepts to this repository as I progress.


👨‍💻 Author

Hafiz Ikrash Riaz

Computer Science Student | Backend & Full-Stack Development

GitHub: HafizIkrashSE


⭐ This repository is continuously updated as I learn, practice, and build more Node.js projects.

About

Learning and building backend applications with Node.js, from fundamentals to real-world projects.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages