Nodejs Api Masterclass

Tags: Node.Js

Create a real world backend for a bootcamp directory app

Last updated 2022-01-10 | 4.7

- Real World Backend RESTful API For Bootcamp Directory App
- HTTP Fundamentals (Req/Res Cycle
- Status Codes
- etc)
- Advanced Mongoose Queries

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

* 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

Course content

11 sections • 76 lectures

Course Introduction Preview 03:35

A Look At The Project Preview 06:37

Optional Node.js Beginner Crash Course Preview 00:19

Environment Setup Preview 05:42

HTTP & the Node Http Module Preview 10:03

Installing Nodemon Preview 03:55

Responding With Data Preview 08:03

HTTP Status Codes Preview 07:39

Sending Data To The Server Preview 05:34

HTTP Methods & RESTful APIs Preview 12:44

Project Specs & Resources Preview 06:46

Basic Express Server, dotenv & Git Preview 10:09

Creating Routes & Responses In Express Preview 10:12

Using The Express Router Preview 05:00

Creating Controller Methods Preview 09:57

Intro To Middleware Preview 10:40

Postman Environment & Collections Preview 08:51

MongoDB Atlas & Compass Setup Preview 08:55

Connecting To The Database With Mongoose Preview 11:57

Colors In The Console Preview 02:48

Creating Our First Model Preview 15:22

Create Bootcamp - POST Preview 10:31

Fetching Bootcamps - GET Preview 05:29

Updating & Deleting Bootcamps - PUT & DELETE Preview 08:22

Error Handler Middleware Preview 05:43

Custom ErrorResponse Class Preview 05:33

Mongoose Error Handling [1] Preview 07:24

Mongoose Error Handling [2] Preview 09:12

Async/Await Middleware Preview 06:45

Mongoose Middleware & Slugify Preview 07:51

GeoJSON Location & Geocoder Hook - MapQuest API Preview 15:38

Database Seeder For Bootcamps Preview 10:22

Geospatial Query - Get Bootcamps Within Radius Preview 14:07

Advanced Filtering Preview 12:36

Select & Sorting Preview 12:48

Adding Pagination Preview 11:30

Course Model & Seeding Preview 09:02

Course Routes & Controller Preview 12:20

Populate, Virtuals & Cascade Delete Preview 11:46

Single Course & Add Course Preview 11:56

Update & Delete Course Preview 07:38

Aggregate - Calculating The Average Course Cost Preview 16:14

Photo Upload For Bootcamp Preview 23:12

Advanced Results Middleware Preview 12:14

User Model Preview 11:34

User Register & Encrypting Passwords Preview 09:54

Sign & Get JSON Web Token Preview 09:09

User Login Preview 12:39

Sending JWT In a Cookie Preview 09:55

Auth Protect Middleware Preview 16:46

Storing The Token In Postman Preview 05:18

Role Authorization Preview 07:07

Bootcamp & User Relationship Preview 10:41

Bootcamp Ownership Preview 08:32

Course Ownership Preview 07:24

Forgot Password - Generate Token Preview 11:34

Forgot Password - Send Email Preview 16:16

Reset Password Preview 09:41

Update User Details Preview 10:43

Admin Users CRUD Preview 18:37

Review Model & Get Reviews Preview 10:51

Get Single Review & Update Seeder Preview 09:02

Add Review For Bootcamp Preview 10:27

Aggregate - Calculate Average Rating Preview 07:29

Update & Delete Reviews Preview 12:51

Logout To Clear Token Cookie Preview 07:35

Prevent NoSQL Injection & Sanitize Data Preview 05:18

XSS Protection & Security Headers Preview 07:03

Rate Limiting, HPP & CORS Preview 07:57

Documentation With Postman & Docgen Preview 12:12

Digital Ocean Droplet & Server Log In Preview 05:50

Prepare & Push To Github Preview 06:23

Clone Repo On Server Preview 08:41

PM2 Process Manager Setup Preview 05:44

NGINX Reverse Proxy Setup Preview 05:54

Domain, SSL & Wrap Up Preview 11:38