Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

108 Commits

Repository files navigation

Node.js Tutorial 🚀

Learn Node.js in less than 2 months with just 15 minutes of daily practice! 💪 This tutorial is perfect for beginners who want to become Node.js masters. You'll learn everything from the basics of Node.js to advanced topics like asynchronous programming, modules, package management, web frameworks, and more. Along the way, you'll build several projects including a command-line interface, a RESTful API, and a real-time chat app. If you have any doubts or questions, feel free to create an issue or comment in the feedback section. By the end of this tutorial, you'll have the skills and confidence to create your own server-side applications using Node.js. 🎉🎉🎉

ezgif-4-a6b90e63af

Content List for NodeJs (2023) ▶️

Also You Can Read This On 📃

(Check out the website Here)

DayChapter NameTopicLearn AboutRead on WebsiteRead on GitHub
Day 1Introduction to Node js and the CourseWhat is , Why do we use,history, Js vs NodeJSChrome's V8HereHere
Day 2Basic Concepts and Theory of Node jsClient,Server Sides ,NodeJs use JavaScript,What developer MakeClient and ServerHereHere
Day 3How to Install and Set Up Node jsInstall & SetupNpm,Node,IDE,HereHere
Day 4Writing Your First Node js ScriptHello World,Compileconsole.log , node index.jsHereHere
Day 5Node js Fundamentals and FeaturesJsBasic, filter , module.exports , require ,import,functionHereHere
Day 6Using Core Modules in Node jsWhat is Core Modules, global modules ,Non-global modules(fs-filesystem)HereHere
Day 7Creating a Basic Server in Node jsMake a Basic Server , arrow function,(http ,createServer ,res ,req ,write ,end ,listen)HereHere
Day 8Understanding and Using package.json in Node jsInstall Additional Dependencies,package-lock.json ,Uninstall Dependencies,Update Dependencies ,Install Specific Version ,npmHereHere
Day 9A Small Challenge for You to Test Your Skills5 MCQGitignoreHereHere
Day 10What is Nodemon and How to Use it in Node jsHow to Install Nodemon, what is, setup in package.jsonWhy Node.js is an asynchronous languageHereHere
Day 11Building a Simple API with Node jsmake a server first and add data ,Add More Data ,reformat data.js , Status codes(200,201,204,400,401,403,404,500,503)(writeHead & JSON.stringify)HereHere
Day 12Taking Input from the Command LineRunning ‘node index.js abc in terminal doesn’t allow input, Create a file with 3 inputs: 2nd is the name and 3rd is the content ,Remove and add the file.(process.argv ,writeFileSync ,UnlinkSync ,if-else ,create-file ,remove-file)HereHere
Day 13Listing Files with the File System ModuleMake files in a folder ,need to see the files in the folder ,We don't want to see the files in the array format(Path module ,__dirPath ,For Loop,template literals ,fs.readdir ,foreach)HereHere
Day 14Performing CRUD Operations with the File System ModuleWhat is CRUD,Create,Read,Update, Rename,Delete, what is buffer(writeFileSync ,readFile ,appendFile ,rename ,unlinkSync ,buffer)HereHere
Day 15Working with Asynchronous Node jsWhat is Synchronous & Synchronous with example ,coding example(basic)setTimeoutHereHere
Day 16Handling Asynchronous Data in Node jsPromise with detailed Explanationpromise() ,then()HereHere
Day 17How Node js Works Behind the ScenesUnderstand the Event Loop, Clearing The Confusion , Explain with Example and step by step processEven Loop,Node APIs,callback queue,call stack,LIFO,FIFO, Dequeue, EnqueueHereHere
Day 18Introduction to Express js FrameworkWhat is Express , Install, Basic Useget, post, put, delete ,(req, res),res.send , listen , PortHereHere
Day 19Routing with Express.jsDiagram , Server & Client in Detail , how each HTTP method works , HTTP request and response process , Request and Response , request object (req) details , response object (res) details , use req and res , Example of using req and resreq,res,req.query,getHereHere
Day 20Rendering HTML Pages with Node jsHtml render, Redirect, Json Data , Input PrintHTML tag(h1,input,button,a href) , json data , req.query , value placeHereHere
Day 21Creating HTML Pages with Node jsHtml & CSS make + Render on Browserhtml, css , path.join , __dirname , express.staticHereHere
Day 22Removing File Extensions from URLsRemove extension from URL + 404(default)sendFle,different endpoint,*(default 404)HereHere
Day 23Creating Dynamic Pages with EJS
Day 24Dynamic Page in Node.js
Day 25Middleware in Node.js
Day 26Using Route-Level Middleware in Express js
Day 27Installing MongoDB for Node js
Day 28Basics of MongoDB Database
Day 29Performing CRUD Operations with MongoDB
Day 30Connecting MongoDB with Node js
Day 31Reading Data from MongoDB to Node.js
Day 32Inserting Data from MongoDB to Node.js
Day 33Updating Data from MongoDB to Node.js
Day 34Deleting Data from MongoDB to Node.js
Day 35GET API with MongoDB and Node.js
Day 36POST API Method with Node.js and MongoDB
Day 37Building PUT APIs with MongoDB and Node js
Day 38Building DELETE APIs with MongoDB and Node js
Day 39Introduction to Mongoose Library
Day 40Performing CRUD Operations with Mongoose
Day 41Building POST APIs with Mongoose
Day 42Building GET, DELETE and PUT APIs with Mongoose
Day 43Building Search APIs with Mongoose
Day 44Using OS Module in Node js
Day 45CRUD Operations in Node.js
Day 46Using Events and Event Emitter in Node js
Day 47Using REPL in Node js
Day 48Connecting Node js with MySQL Database
Day 49Building POST APIs with Node js and MySQL
Day 50Building PUT APIs with Node js and MySQL
Day 51Building DELETE APIs with Node js and MySQL
Day 52Comparing Node js and PHP

Prerequisites 📋

Before diving into Node.js, you should have a basic understanding of JavaScript and web development concepts.

Projects you will build 🛠️

Throughout this content list, you will learn how to build various projects with Node.js, including building servers, creating APIs, connecting to databases, and more.

What you will learn 📚

By the end of this content list, you will have a strong understanding of Node.js and be able to build your own applications using this technology.

How to start 🚀

To start this tutorial:

  1. Clone this repository or download it as a zip file.

  2. Open each project folder in your code editor.

  3. Follow the instructions in each project's README file.

Once you have Node.js installed, clone this repository and navigate to the project directory in your terminal. From there, you can follow along with the course by running the examples in each section.

Contributing 💖

If you want to contribute to this tutorial:

  1. Fork this repository or create a new branch.

  2. Make your changes or additions.

  3. Create a pull request with a clear description of your changes.

We appreciate any feedback or suggestions that can help us improve this tutorial. Thank you! 😊

License 📄

This tutorial is licensed under the MIT License - see LICENSE file for details.

About

You will learn everything from the basics of Node.js to advanced topics

Topics

Resources

Stars

92 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages