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.
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
Introduction to building servers and APIs with Express.js.
Topics Covered:
- Express.js
- Routes
- Request and response
- Middleware
- Query parameters
- Route handling
- Nodemon
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
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
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
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
- Node.js
- Express.js
- MongoDB
- Mongoose
- JavaScript
- EJS
- JWT
- Multer
- REST APIs
- Postman
- Git & GitHub
This repository documents my journey in backend development.
- HTTP servers
- File System
- URL module
- Modules
- NPM
- Asynchronous programming
- Routing
- Middleware
- REST APIs
- Error handling
- MVC architecture
- Database connection
- Schemas
- Models
- CRUD operations
- MongoDB queries
- Stateful authentication
- Stateless authentication
- Cookies
- JWT
- Protected routes
- Authentication middleware
- REST API development
- API testing with Postman
- File uploads
- Project structure
- Error handling
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
Clone the repository:
git clone https://github.com/HafizIkrashSE/Node.js.gitGo into the repository:
cd Node.jsThen move into the required project:
cd 01-http-serverInstall dependencies if the project has a package.json:
npm installRun the project:
npm startEach project may have different dependencies and setup requirements. Check the project files for specific instructions.
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.
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.