Node.js API Masterclass With Express & MongoDB
4.8 (1,881 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
10,074 students enrolled

Node.js API Masterclass With Express & MongoDB

Create a real world backend for a bootcamp directory app
Highest Rated
4.8 (1,881 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
10,074 students enrolled
Created by Brad Traversy
Last updated 10/2019
English
English [Auto-generated]
Current price: $83.99 Original price: $119.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 12 hours on-demand video
  • 1 article
  • 3 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Real World Backend RESTful API For Bootcamp Directory App
  • HTTP Fundamentals (Req/Res Cycle, Status Codes, etc)
  • Advanced Mongoose Queries
  • JWT/Cookie Authentication
  • Express & Mongoose Middleware (Geocoding, Auth, Error Handling, etc)
  • API Security (NoSQL injection, XSS protection, Rate Limiting)
  • API Documentation & Deployment
Course content
Expand all 76 lectures 12:03:47
+ HTTP Intro - Headers, Body, Status Codes, etc
6 lectures 47:58
Responding With Data
08:03
HTTP Status Codes
07:39
Sending Data To The Server
05:34
HTTP Methods & RESTful APIs
12:44
+ Starting Our DevCamper Project
7 lectures 01:01:35
Creating Routes & Responses In Express
10:12
Using The Express Router
05:00
Intro To Middleware
10:40
Postman Environment & Collections
08:51
+ Getting Started With MongoDB & Bootcamps Resource
7 lectures 01:03:24
MongoDB Atlas & Compass Setup
08:55
Connecting To The Database With Mongoose
11:57
Colors In The Console
02:48
Creating Our First Model
15:22
Create Bootcamp - POST
10:31
Fetching Bootcamps - GET
05:29
Updating & Deleting Bootcamps - PUT & DELETE
08:22
+ Custom Error Handling & Mongoose Middleware
7 lectures 58:06
Error Handler Middleware
05:43
Custom ErrorResponse Class
05:33
Mongoose Error Handling [1]
07:24
Mongoose Error Handling [2]
09:12
Async/Await Middleware
06:45
Mongoose Middleware & Slugify
07:51
GeoJSON Location & Geocoder Hook - MapQuest API
15:38
+ Mongoose Advanced Querying & Relationships
13 lectures 02:45:45
Database Seeder For Bootcamps
10:22
Geospatial Query - Get Bootcamps Within Radius
14:07
Advanced Filtering
12:36
Select & Sorting
12:48
Adding Pagination
11:30
Course Model & Seeding
09:02
Course Routes & Controller
12:20
Populate, Virtuals & Cascade Delete
11:46
Single Course & Add Course
11:56
Update & Delete Course
07:38
Aggregate - Calculating The Average Course Cost
16:14
Photo Upload For Bootcamp
23:12
Advanced Results Middleware
12:14
+ Authentication, Users & Permissions - Part 1
8 lectures 01:22:22
User Model
11:34
User Register & Encrypting Passwords
09:54
User Login
12:39
Sending JWT In a Cookie
09:55
Auth Protect Middleware
16:46
Storing The Token In Postman
05:18
Role Authorization
07:07
+ Authentication, Users & Permissions - Part 2
8 lectures 01:33:28
Bootcamp & User Relationship
10:41
Bootcamp Ownership
08:32
Course Ownership
07:24
Forgot Password - Generate Token
11:34
Forgot Password - Send Email
16:16
Reset Password
09:41
Update User Details
10:43
Admin Users CRUD
18:37
+ Bootcamp Reviews & Ratings
5 lectures 50:40
Review Model & Get Reviews
10:51
Get Single Review & Update Seeder
09:02
Add Review For Bootcamp
10:27
Aggregate - Calculate Average Rating
07:29
Update & Delete Reviews
12:51
+ API Security
4 lectures 27:53
Logout To Clear Token Cookie
07:35
Prevent NoSQL Injection & Sanitize Data
05:18
XSS Protection & Security Headers
07:03
Rate Limiting, HPP & CORS
07:57
Requirements
  • Modern JavaScript (ES6)
  • Basic programming principles
  • Basic knowledge of Node helps
Description

This is a project based course where we build an extensive, in-depth backend API for DevCamper, a bootcamp directory app. We will start from scratch and end up with a professional deployed API with documentation. We will dive deep into Node, Express and MongoDB. Here is some of what you will learn in this course and project...


  • HTTP Essentials

  • Postman Client

  • RESTful APIs

  • Express Framework

  • Routing & Controller Methods

  • MongoDB Atlas & Compass

  • Mongoose ODM

  • Advanced Query (Pagination, filter, etc)

  • Models & Relationships

  • Middleware (Express & Mongoose)

  • MongoDB Geospatial Index / GeoJSON

  • Geocoding

  • Custom Error Handling

  • User Roles & Permissions

  • Aggregation

  • Photo Upload

  • Authentication With JWT & Cookies

  • Emailing Password Reset Tokens

  • Custom Database Seeder Using JSON Files

  • Password & Token Hashing

  • Security: NoSQL Injection, XSS, etc

  • Creating Documentation

  • Deployment With PM2, NGINX, SSL

Who this course is for:
  • People that want to learn backend web development with Node
  • React/Vue/Angular Frontend devs that want to be full stack devs