Course Highlights
  • 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
Skills you will learn!
Curriculum

4 Topics
Course Introduction
A Look At The Project
Optional Node.js Beginner Crash Course
Environment Setup

6 Topics
HTTP & the Node Http Module
Installing Nodemon
Responding With Data
HTTP Status Codes
Sending Data To The Server
HTTP Methods & RESTful APIs

7 Topics
Project Specs & Resources
Basic Express Server dotenv & Git
Creating Routes & Responses In Express
Using The Express Router
Creating Controller Methods
Intro To Middleware
Postman Environment & Collections

7 Topics
MongoDB Atlas & Compass Setup
Connecting To The Database With Mongoose
Colors In The Console
Creating Our First Model
Create Bootcamp - POST
Fetching Bootcamps - GET
Updating & Deleting Bootcamps - PUT & DELETE

7 Topics
Error Handler Middleware
Custom ErrorResponse Class
Mongoose Error Handling [1]
Mongoose Error Handling [2]
Async/Await Middleware
Mongoose Middleware & Slugify
GeoJSON Location & Geocoder Hook - MapQuest API

13 Topics
Database Seeder For Bootcamps
Geospatial Query - Get Bootcamps Within Radius
Advanced Filtering
Select & Sorting
Adding Pagination
Course Model & Seeding
Course Routes & Controller
Populate Virtuals & Cascade Delete
Single Course & Add Course
Update & Delete Course
Aggregate - Calculating The Average Course Cost
Photo Upload For Bootcamp
Advanced Results Middleware

8 Topics
User Model
User Register & Encrypting Passwords
Sign & Get JSON Web Token
User Login
Sending JWT In a Cookie
Auth Protect Middleware
Storing The Token In Postman
Role Authorization

8 Topics
Bootcamp & User Relationship
Bootcamp Ownership
Course Ownership
Forgot Password - Generate Token
Forgot Password - Send Email
Reset Password
Update User Details
Admin Users CRUD

5 Topics
Review Model & Get Reviews
Get Single Review & Update Seeder
Add Review For Bootcamp
Aggregate - Calculate Average Rating
Update & Delete Reviews

4 Topics
Logout To Clear Token Cookie
Prevent NoSQL Injection & Sanitize Data
XSS Protection & Security Headers
Rate Limiting HPP & CORS

7 Topics
Documentation With Postman & Docgen
Digital Ocean Droplet & Server Log In
Prepare & Push To Github
Clone Repo On Server
PM2 Process Manager Setup
NGINX Reverse Proxy Setup
Domain SSL & Wrap Up

  Write a Review

Node.js API Masterclass With Express & MongoDB

Go to Paid Course