Node.js Tutorial for Beginners | CRASH COURSE
Envato Tuts+ Envato Tuts+
1.44M subscribers
16,683 views
0

 Published On Premiered Apr 3, 2024

Node.js revolutionized the way we build web applications, but more importantly, it thrust JavaScript into the spotlight (as if it already wasn't).

Now, JavaScript is the most popular and important programming language in the world, and with Node.js, you can build command-line and web applications completely with JavaScript.

In this comprehensive course, you'll learn everything you need to know about Node.js, from installation to working with a database, using Handlebars, and writing an HTTP server from scratch.

► Download the source files for this course: https://github.com/tutsplus/Node.js-F...

Useful Links:

• Node.js: https://nodejs.org
• Visual Studio Code: https://code.visualstudio.com/
• Note: Atom Text editor has been discontinued, Sublime Text is a good alternative: https://www.sublimetext.com/
• Express Handlebars (NPM): https://www.npmjs.com/package/express...
• Express Handlebars (Github): https://github.com/express-handlebars...
• MongoDB: https://www.mongodb.com/
• Mongoose ORM: https://mongoosejs.com/

► Download unlimited photos, fonts, and templates with Envato Elements: https://elements.envato.com/?utm_camp...

Here's what you'll learn in this course:

1 Node.js Fundamentals
00:00:00 1.1 Introduction

2 Getting Started
00:01:51 2.1 Installing Node.js
00:06:29 2.2 Using REPL
00:11:29 2.3 Working with REPL Commands
00:15:41 2.4 Working with Standard Input and Output
00:27:24 2.5 Using ReadLine as CommonJS Modules
00:36:33 2.6 Rewriting the Calculator with ES Modules

3 Writing a Command-Line Application
00:43:15 3.1 Working with Paths
00:53:02 3.2 Reading and Writing Files
01:00:06 3.3 Writing a Command Loop
01:10:56 3.4 Making HTTP Requests
01:22:42 3.5 Using Custom Events

4 Writing an HTTP Server From Scratch
01:33:00 4.1 Creating an HTTP Server
01:43:37 4.2 Using Nodemon and NPM Scripts
01:50:38 4.3 Generating Content
01:55:08 4.4 Extracting Query String Data
02:04:02 4.5 Handling URLs
02:11:33 4.6 Displaying a Form
02:19:19 4.7 Processing Form Data
02:28:19 4.8 Serving Static Files

5 Using Express
02:35:07 5.1 Getting Started with Express
02:43:09 5.2 Structuring the Project
02:50:39 5.3 Using Route Parameters
03:01:11 5.4 Introducing MVC
03:09:50 5.5 Writing a Simple View Engine
03:20:15 5.6 Handling Static Assets
03:26:07 5.7 Processing Creation Forms
03:38:05 5.8 Handling Edit Forms
03:48:55 5.9 Deleting Data

6 Processing Requests With Custom Functionality
03:52:48 6.1 Introducting Middleware
04:01:53 6.2 Creating and Processing Login Requests
04:08:32 6.3 Using Sessions

7 Using the Handlebars View Engine
04:16:46 7.1 Setting Up Handlebars
04:25:07 7.2 Generating Lists
04:30:56 7.3 Making Decisions
04:36:11 7.4 Defining Global View Variables
04:43:03 7.5 Using Different Layouts

8 Working With a Database
04:45:46 8.1 Getting Started with MongoDB
04:51:59 8.2 Storing Database Credentials
04:55:04 8.3 Creating Mongoose Models
05:03:13 8.4 Editing Documents in MongoDB
05:10:06 8.5 Creating and Deleting Documents
05:14:14 8.6 Discussing Security
05:23:47 8.7 Really Authenticating the User

9 Conclusion
05:31:58 9.1 Conclusion

Read free Node.js tutorials on Envato Tuts+: https://code.tutsplus.com/c/javascrip...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Envato Tuts+
Discover free how-to tutorials and online courses. Design a logo, create a website, build an app, or learn a new skill: https://tutsplus.com/?utm_campaign=yt...

Envato Elements
All the creative assets you need under one subscription. Customize your project by adding unique photos, fonts, graphics, and themes.
► Download Unlimited Stock Photos, Fonts & Templates with Envato Elements: https://elements.envato.com/?utm_camp...

► Subscribe to Envato Tuts+ on YouTube:    / tutsplus  
► Follow Envato on X:   / envato  
► Follow Envato on Facebook:   / envato  
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

show more

Share/Embed