4.65 out of 5
4.65
5231 reviews on Udemy

Node.js: The Complete Guide to Build RESTful APIs (2018)

Learn to build fast, scalable and secure RESTful services with Node, Express and MongoDB, from setup to production
Instructor:
Mosh Hamedani
23,065 students enrolled
English More
Build the backend for your web and mobile apps
Use modern JavaScript features (ES6, ES7)
Implement CRUD operations
Handle and log errors, the right way
Write unit and integration tests
Practice test-driven development (TDD)
Store and retrieve complex data in MongoDB
Implement authentication and authorization
Deploy your Node apps to production
Apply the best practices for building fast, scalable and secure apps

What is Node.js?

Node.js, or Node, is a runtime environment for executing JavaScript code outside of a browser. It is ideal for building highly-scalable, data-intensive backend services (APIs) that power your client’s apps (web or mobile apps).


Why learn Node?

Node is great for prototyping and agile development as well as building super fast and highly scalable apps; Companies like Uber and PayPal use Node in production to build applications because it requires fewer people and less code. Plus, Node has the largest ecosystem of open-source library, so you don’t have to build everything from scratch.


A step-by-step, A to Z course

What you’ll get when you sign up for this course:

  • 15 hours of HD videos, complete with exercises and solutions

  • A real-world project: you’ll build the back-end for a video rental application, not a dummy to-do app!

  • No more wasted time on lengthy courses or out-of-date tutorials

  • Up-to-date and practical information and solutions (no fluff!)

  • The opportunity to learn at your own pace – lifetime access – so take your time if you prefer

  • Expert tips to become a Node rockstar

  • The best practices and common pitfalls to avoid

  • Watch on any device, online or offline – mobile friendly and downloadable lessons

  • Certificate of completion to present to your employer


You’ll learn to:

  • Confidently build RESTful services (APIs) using Node.js, Express.js, and MongoDB

  • Employ the best practices for Node.js

  • Avoid common mistakes


What we’ll cover:

  • Node module system

  • Node Package Manager (NPM)

  • Asynchronous JavaScript

  • Useful ES6+ features

  • Implementing CRUD operations

  • Storing complex data in MongoDB

  • Data Validation

  • Authentication and authorization

  • Handling and logging errors the right way

  • Unit and integration testing

  • Test-driven development (TDD)

  • Deployment


This course is for you if:

You’re a back-end developer who is used to working with frameworks like ASP.NET, Rails, Django, etc. You want to add Node.js to your toolbox.

You’re a front-end developer and want to transition to full-stack development.

You’ve tried other Node.js tutorials and found them to be too slow, out-of-date, and boring!

Having Node.js on your resume helps you find more jobs and make more money.


And here is what other students say: 

“Absolutely the best! Highly recommended if you want to get started on Node.js from zero. I have learned what Node is and what it can do. Truly comprehensive. Perfect rating! Mosh knows his stuff and he deserves your support. On a side note, my current company uses Mosh’s courses as a huge resource and reference when training / refreshing knowledge. I just want to say thank you! Please don’t stop teaching. You were born with the talent to teach.” -Eugene John Arellano

“Mosh is one of the top 3 instructors for modern web development. He explains difficult concepts with ease. I recommend all of his courses because of the amount of detail and his style of teaching.” -Warren Isaac

“What I like most about the course is Mosh’s methodology and the way how he explains the things. Very well structured course with high quality of presentation as well.” -Omar Amrani

Who is your instructor?

Hi! My name is Mosh Hamedani and I help ambitious developers take their coding skills to the next level. I’m a software engineer with more than 15 years of experience and I’ve taught over 200,000 students through my online courses. My YouTube channel, Programming with Mosh, has been watched more than 6M times. My students describe my teaching as clear, concise, and fun, without any fluff.


Do you want to become a Node rockstar? Enroll in the course and get started.

Getting Started

1
Welcome
2
What is Node
3
Node Architecture
4
How Node Works
5
Installing Node
6
Your First Node Program
7
Course Structure
8
Recap
9
Asking Questions

Node Module System

1
Introduction
2
Global Object
3
Modules
4
Creating a Module
5
Loading a Module
6
Module Wrapper Function
7
Path Module
8
OS Module
9
File System Module
10
Events Module
11
Event Arguments
12
Extending Event Emitter
13
HTTP Module
14
Recap

Node Package Manager

1
Introduction
2
Package.json
3
Installing a Node Package
4
Using a Package
5
Package Dependencies
6
NPM Packages and Source Control
7
Semantic Versioning
8
Listing the Installed Packages
9
Viewing Registry Info for a Package
10
Installing a Specific Version of a Package
11
Updating Local Packages
12
DevDependencies
13
Uninstalling a Package
14
Working with Global Packages
15
Publishing a Package
16
Updating a Published Package
17
Recap

Building RESTful API's Using Express

1
Introduction
2
RESTful Services
3
Introducing Express
4
Building Your First Web Server
5
Nodemon
6
Environment Variables
7
Route Parameters
8
Handling HTTP GET Requests
9
Handling HTTP POST Requests
10
Calling Endpoints Using Postman
11
Input Validation
12
Handling HTTP PUT Requests
13
Handling HTTP Delete Requests
14
Project- Build the Genres API
15
Recap

Express- Advanced Topics

1
Introducion
2
MIddleware
3
Creating Custom Middleware
4
Built-In Middleware
5
Third-party Middleware
6
Environments
7
Configuration
8
Debugging
9
Templating Engines
10
Database Integration
11
Authentication
12
Structuring Express Applications
13
Project- Restructure the App
14
Recap

Asynchronous JavaScript

1
Synchronous Vs. Asynchronous Code
2
Patterns For Dealing With Asynchronous Code
3
Callbacks
4
Callback Hell
5
Named Functions to Rescue
6
Promises
7
Replacing Callbacks with Promises
8
Consuming Promises
9
Creating Settled Promises
10
Running Parallel Promises
11
Async and Await
12
Exercise

CRUD Operations Using MongoDB

1
Introducing MongoDB
2
Installing MongoDB on Mac
3
Installing MongoDB on Windows
4
Connecting to MongoDB
5
Schemas
6
Models
7
Saving a Document
8
Querying Documents
9
Comparison Query Operators
10
Logical Query Operators
11
Regular Expressions
12
Counting
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.7
4.7 out of 5
5231 Ratings

Detailed Rating

Stars 5
3430
Stars 4
1457
Stars 3
276
Stars 2
41
Stars 1
30
73d4c5f02774013e29a8b45a022fa912
30-Day Money-Back Guarantee

Includes

15 hours on-demand video
14 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion