Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js - The Complete Guide

Welcome to the Node.js - The Complete Guide repository! This repository contains all the code and examples written during the Udemy course Node.js - The Complete Guide (MVC, REST APIs, GraphQL, Deno).

About the Course

This course is a comprehensive guide to mastering Node.js, covering a wide range of topics from basic concepts to advanced features. It includes hands-on examples and projects designed to help you build server-side applications, REST APIs, GraphQL APIs, real-time services, and much more.

Repository Contents

Modules and Topics

  1. Getting Started with Node.js

    • Introduction to Node.js
    • Running your first script
    • Understanding the Node.js event loop
  2. Core Node.js Modules

    • File system (fs)
    • HTTP and HTTPS modules
    • Working with streams and buffers
  3. Building a Web Server

    • Creating an HTTP server
    • Handling requests and responses
    • Serving HTML, CSS, and JavaScript
  4. Express.js Framework

    • Setting up an Express app
    • Routing and middleware
    • Error handling
  5. MVC Architecture

    • Understanding the MVC pattern
    • Implementing controllers, views, and models
    • Structuring a Node.js project
  6. REST APIs

    • Designing RESTful endpoints
    • CRUD operations with Express
    • Working with databases (SQL and NoSQL)
  7. GraphQL APIs

    • Introduction to GraphQL
    • Setting up a GraphQL server
    • Writing queries and mutations
  8. Real-Time Services

    • Introduction to WebSockets
    • Building a real-time chat application
    • Using libraries like Socket.io
  9. Authentication and Authorization

    • User authentication with JWT
    • Securing routes and resources
    • Role-based access control
  10. Advanced Node.js

    • Working with streams for data processing
    • Using clustering and worker threads
    • Optimizing performance
  11. Introduction to Deno

    • Exploring Deno as an alternative to Node.js
    • Setting up and running Deno scripts
    • Comparing Node.js and Deno

How to Use This Repository

Each module is organized into a dedicated folder with the following:

  • Code examples: All scripts and projects demonstrated in the lectures.
  • Documentation: Notes and comments to guide you through the code.

Prerequisites

  • Install Node.js (latest LTS version recommended)
  • Install npm or yarn

Running Examples

  1. Clone the repository:
    git clone https://github.com/your-username/nodejs-complete-guide.git
    cd nodejs-complete-guide
  2. Navigate to the desired module folder:
    cd module-name
  3. Install dependencies:
    npm install
  4. Run the application:
    node app.js

Contributions

Feel free to contribute by submitting pull requests for bug fixes or enhancements. Make sure to follow the repository structure and coding standards.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Happy coding and enjoy your Node.js journey!

About

This repository contains code examples and projects from the Node.js Mastery course. Learn to build modern server-side applications from scratch, including traditional web apps, REST APIs, GraphQL APIs, and real-time services. Perfect for beginners or those looking to deepen their Node.js expertise.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages