Node.js API Masterclass With Express & MongoDB

12h 4m 42s
English
Paid

Course 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...

Read more about the course

  • 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

Requirements:
  • Modern JavaScript (ES6)
  • Basic programming principles
  • Basic knowledge of Node helps
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

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

Watch Online

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 75 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing

Watch Online Node.js API Masterclass With Express & MongoDB

0:00
/
#1: Course Introduction

All Course Lessons (75)

#Lesson TitleDurationAccess
1
Course Introduction Demo
03:36
2
A Look At The Project
06:38
3
Environment Setup
05:43
4
HTTP & the Node Http Module
10:04
5
Installing Nodemon
03:56
6
Responding With Data
08:04
7
HTTP Status Codes
07:40
8
Sending Data To The Server
05:35
9
HTTP Methods & RESTful APIs
12:45
10
Project Specs & Resources
06:47
11
Basic Express Server, dotenv & Git
10:10
12
Creating Routes & Responses In Express
10:13
13
Using The Express Router
05:01
14
Creating Controller Methods
09:58
15
Intro To Middleware
10:41
16
Postman Environment & Collections
08:52
17
MongoDB Atlas & Compass Setup
08:56
18
Connecting To The Database With Mongoose
11:58
19
Colors In The Console
02:49
20
Creating Our First Model
15:23
21
Create Bootcamp - POST
10:32
22
Fetching Bootcamps - GET
05:30
23
Updating & Deleting Bootcamps - PUT & DELETE
08:23
24
Error Handler Middleware
05:44
25
Custom ErrorResponse Class
05:34
26
Mongoose Error Handling [1]
07:25
27
Mongoose Error Handling [2]
09:13
28
Async/Await Middleware
06:46
29
Mongoose Middleware & Slugify
07:52
30
GeoJSON Location & Geocoder Hook - MapQuest API
15:39
31
Database Seeder For Bootcamps
10:23
32
Geospatial Query - Get Bootcamps Within Radius
14:08
33
Advanced Filtering
12:37
34
Select & Sorting
12:49
35
Adding Pagination
11:31
36
Course Model & Seeding
09:03
37
Course Routes & Controller
12:21
38
Populate, Virtuals & Cascade Delete
11:47
39
Single Course & Add Course
11:57
40
Update & Delete Course
07:39
41
Aggregate - Calculating The Average Course Cost
16:15
42
Photo Upload For Bootcamp
23:13
43
Advanced Results Middleware
12:15
44
User Model
11:35
45
User Register & Encrypting Passwords
09:55
46
Sign & Get JSON Web Token
09:10
47
User Login
12:40
48
Sending JWT In a Cookie
09:56
49
Auth Protect Middleware
16:47
50
Storing The Token In Postman
05:19
51
Role Authorization
07:08
52
Bootcamp & User Relationship
10:42
53
Bootcamp Ownership
08:33
54
Course Ownership
07:25
55
Forgot Password - Generate Token
11:35
56
Forgot Password - Send Email
16:17
57
Reset Password
09:42
58
Update User Details
10:44
59
Admin Users CRUD
18:38
60
Review Model & Get Reviews
10:52
61
Get Single Review & Update Seeder
09:03
62
Add Review For Bootcamp
10:28
63
Aggregate - Calculate Average Rating
07:30
64
Update & Delete Reviews
12:52
65
Logout To Clear Token Cookie
07:36
66
Prevent NoSQL Injection & Sanitize Data
05:19
67
XSS Protection & Security Headers
07:04
68
Rate Limiting, HPP & CORS
07:58
69
Documentation With Postman & Docgen
12:13
70
Digital Ocean Droplet & Server Log In
05:51
71
Prepare & Push To Github
06:24
72
Clone Repo On Server
08:42
73
PM2 Process Manager Setup
05:45
74
NGINX Reverse Proxy Setup
05:55
75
Domain, SSL & Wrap Up
11:39

Unlock unlimited learning

Get instant access to all 74 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Comments

0 comments

Want to join the conversation?

Sign in to comment

Similar courses

Node.js for Beginners - Become a NodeJs Developer + Project

Node.js for Beginners - Become a NodeJs Developer + Project

Sources: udemy
I don't know about you,but regular classes bore me, and that is why on this Node.js course we make it fun to learn LOTS of cool things. This course is meant for
22 hours 54 minutes 50 seconds
Full-Stack Vue with GraphQL - The Ultimate Guide

Full-Stack Vue with GraphQL - The Ultimate Guide

Sources: udemy
This entire course within the context of a practical application that we will build literally from the first line of code to live deployment on the web. We'll be building an ima...
9 hours 52 minutes 3 seconds
The complete React Fullstack course ( 2021 edition )

The complete React Fullstack course ( 2021 edition )

Sources: udemy
Do you want to learn the whole process of building your App ?. This is the course for you. We will start from the very beginning, from "I don't even know how use it..and why wo...
76 hours 58 minutes 6 seconds
MERN React Node Next.js Multi User SEO Blogging Platform

MERN React Node Next.js Multi User SEO Blogging Platform

Sources: udemy
Master the Art of Building Real World SEO Web Applications using MERN (Mongo Express React Node) Stack. Become a true Web Developer with this Ultimate Project b
20 hours 25 minutes 13 seconds
Just Express (with a bunch of node and http). In detail.

Just Express (with a bunch of node and http). In detail.

Sources: udemy
You have some notion of what Node, Express, and http are or you wouldn't be here. Node and back-end JavaScript have taken the world by storm, [SOME BIG COMPANY] moved to node an...
12 hours 33 minutes 3 seconds