We may earn an affiliate commission when you visit our partners.
Course image
Brad Traversy

This is a project based course where we build an extensive, in-depth backend API for DevCamper, a bootcamp directory API. 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

This is a project based course where we build an extensive, in-depth backend API for DevCamper, a bootcamp directory API. 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 We used to render all of our views and templates on the server, but since the rise of frontend frameworks like React, Angular and Vue, we are now splitting projects up into backend and frontend, where the backend is doing all of the database interaction and serving JSON and the frontend is fetching that data and creating the user interface to interact with. This course will teach you the entire backend side of things so that you can build extensive APIs and then use whatever you want on the frontend.

    We will do a lot more than just build a simple CRUD REST API like many other Node.js and Express tutorials. We will be implementing authentication, roles and permissions, password reset tokens, email functionality, geocoding and much more. This course teaches what it's like to be a real backend engineer.

Enroll now

What's inside

Learning objectives

  • 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

Syllabus

Welcome To The Course
Course Introduction
A Look At The Project
Optional Node.js Beginner Crash Course
Read more
Environment Setup
HTTP Intro - Headers, Body, Status Codes, etc
HTTP & the Node Http Module
Installing Nodemon
Responding With Data
HTTP Status Codes
Sending Data To The Server
HTTP Methods & RESTful APIs
Starting Our DevCamper Project
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
Getting Started With MongoDB & Bootcamps Resource
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
Custom Error Handling & Mongoose Middleware
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
Mongoose Advanced Querying & Relationships
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
Authentication, Users & Permissions - Part 1
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
Authentication, Users & Permissions - Part 2
Bootcamp & User Relationship
Bootcamp Ownership
Course Ownership
Forgot Password - Generate Token
Forgot Password - Send Email
Reset Password
Update User Details
Admin Users CRUD
Bootcamp Reviews & Ratings
Review Model & Get Reviews
Get Single Review & Update Seeder
Add Review For Bootcamp
Aggregate - Calculate Average Rating
Update & Delete Reviews
API Security
Logout To Clear Token Cookie
Prevent NoSQL Injection & Sanitize Data
XSS Protection & Security Headers
Rate Limiting, HPP & CORS
Documentation & Deploy
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

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Examines the Express framework, which is a standard in Node.js
Develops Mongoose, which is core for modeling data
Suitable for those who want to build RESTful APIs
Teaches the basics of HTTP, including request and response cycles
Appropriate for learners who wish to explore geocoding and authentication
Covers geospatial queries, relationships, and other complex topics

Save this course

Save Node.js API Masterclass With Express & MongoDB to your list so you can find it easily later:
Save

Reviews summary

Knowledgeable node.js course

According to students, this well-structured course strengthens their knowledge of Node.js and is highly recommended. The course has a responsive Q&A section and helpful instructors.
Instructor is clear.
"The instructor is very clear."
Course is well-structured.
"The Course is well structured."
Q&A section is responsive.
"The Q&A section is very interactive and treats most of the small imperfections of the course."
Course strengthens Node.js knowledge.
"It was an outstanding course that taught me a lot, it has strengthened my knowledge about Node.js."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Node.js API Masterclass With Express & MongoDB with these activities:
Review Node.js Basics
Refresh essential Node.js concepts and techniques to prepare for backend development.
Browse courses on Node.js
Show steps
  • Review online tutorials or documentation on Node.js concepts, such as modules, event loop, and asynchronous programming.
  • Practice writing simple Node.js scripts.
  • Review existing code or contribute to open-source projects to reinforce understanding.
Compile Coursepack
Review and compile notes and reference materials for easy access while studying.
Show steps
  • Collect notes from previous courses and materials related to the course topics.
  • Organize and categorize the notes into relevant sections or folders.
  • Create a digital or physical folder or notebook for the coursepack.
Participate in Code Review Sessions
Collaborate with peers to review code, exchange knowledge, and improve programming skills.
Show steps
  • Join or start a study group or online community.
  • Share code snippets or projects for review and feedback.
  • Actively participate in discussions and provide constructive criticism.
Four other activities
Expand to see all activities and additional details
Show all seven activities
Build a Simple REST API
Create a small REST API to apply knowledge of Express.js and MongoDB and enhance understanding of backend development.
Show steps
  • Set up a Node.js project with Express.js and MongoDB.
  • Create a model for a simple resource, such as a blog post or product.
  • Implement CRUD (Create, Read, Update, Delete) operations on the resource.
  • Test the API with Postman or a similar tool.
Explore Mongoose Advanced Queries
Deepen understanding of MongoDB querying techniques, enhancing data retrieval capabilities.
Browse courses on Mongoose
Show steps
  • Watch video tutorials or read documentation on Mongoose's advanced querying features, such as aggregation, filtering, and sorting.
  • Experiment with different query operators and options in a practice project.
  • Join online forums or discussion groups to ask questions and share knowledge.
Solve MongoDB Query Challenges
Enhance problem-solving abilities and refine MongoDB querying skills through dedicated practice.
Browse courses on MongoDB
Show steps
  • Find online platforms or resources that provide MongoDB query challenges.
  • Attempt to solve the challenges using different query operators and techniques.
  • Compare solutions with others and identify areas for improvement.
Develop a Full-Stack Bootcamp Directory
Apply the entire course knowledge to build a comprehensive bootcamp directory app, consolidating learning and solidifying skills.
Show steps
  • Design a data model for the bootcamp directory.
  • Implement the backend API using Node.js, Express.js, and MongoDB.
  • Create a frontend interface using a framework like React or Angular and connect it to the backend API.
  • Deploy the application to a cloud platform such as AWS or Heroku.

Career center

Learners who complete Node.js API Masterclass With Express & MongoDB will develop knowledge and skills that may be useful to these careers:
API Developer
The course covers a wide range of topics that are essential for becoming an API developer, including HTTP, Node, Express, MongoDB, and RESTful APIs. The course also covers advanced topics such as authentication, authorization, and security. This course will help you build a strong foundation in API development and prepare you for a successful career as an API developer.
Backend Developer
The course covers a wide range of topics that are essential for becoming a backend developer, including HTTP, Node, Express, MongoDB, and RESTful APIs. The course also covers advanced topics such as authentication, authorization, and security. This course will help you build a strong foundation in backend development and prepare you for a successful career as a backend developer.
Full Stack Software Engineer
The course covers a wide range of topics that are essential for becoming a full stack software engineer, including HTTP, Node, Express, MongoDB, and RESTful APIs. The course also covers advanced topics such as authentication, authorization, and security. This course will help you build a strong foundation in full stack development and prepare you for a successful career as a software engineer.
Software Architect
The course covers a wide range of topics that are essential for becoming a software architect, including HTTP, Node, Express, MongoDB, and RESTful APIs. The course also covers advanced topics such as authentication, authorization, and security. This course will help you build a strong foundation in software architecture and prepare you for a successful career as a software architect.
DevOps Engineer
The course covers a wide range of topics that are essential for becoming a DevOps engineer, including Node, Express, MongoDB, and RESTful APIs. The course also covers topics such as deployment, configuration management, and monitoring. This course will help you build a strong foundation in DevOps engineering and prepare you for a successful career as a DevOps engineer.
Chief Technology Officer (CTO)
The course covers a wide range of topics that are essential for becoming a CTO, including HTTP, Node, Express, MongoDB, and RESTful APIs. The course also covers advanced topics such as authentication, authorization, and security. This course will help you build a strong foundation in technology leadership and prepare you for a successful career as a CTO.
Database Administrator
The course covers a wide range of topics that are essential for becoming a database administrator, including MongoDB, Mongoose, and advanced querying. The course also covers topics such as security and performance tuning. This course will help you build a strong foundation in database administration and prepare you for a successful career as a database administrator.
Systems Administrator
The course covers a wide range of topics that are essential for becoming a systems administrator, including Node, Express, MongoDB, and RESTful APIs. The course also covers topics such as deployment, configuration management, and monitoring. This course will help you build a strong foundation in systems administration and prepare you for a successful career as a systems administrator.
Information Security Analyst
The course covers a wide range of topics that are essential for becoming an information security analyst, including security and risk management. The course also covers topics such as network security, intrusion detection, and incident response. This course will help you build a strong foundation in information security and prepare you for a successful career as an information security analyst.
Cloud Architect
The course covers a wide range of topics that are essential for becoming a cloud architect, including cloud computing, cloud security, and cloud management. The course also covers topics such as cloud migration and cloud automation. This course will help you build a strong foundation in cloud architecture and prepare you for a successful career as a cloud architect.
Data Scientist
The course covers a wide range of topics that are essential for becoming a data scientist, including data analysis, machine learning, and statistics. The course also covers topics such as data visualization and data mining. This course will help you build a strong foundation in data science and prepare you for a successful career as a data scientist.
Technical Project Manager
The course covers a wide range of topics that are essential for becoming a technical project manager, including project management, software development, and quality assurance. The course also covers topics such as risk management and change management. This course will help you build a strong foundation in technical project management and prepare you for a successful career as a technical project manager.
Scrum Master
The course covers a wide range of topics that are essential for becoming a scrum master, including scrum, agile development, and project management. The course also covers topics such as sprint planning and sprint retrospectives. This course will help you build a strong foundation in scrum and prepare you for a successful career as a scrum master.
Systems Analyst
The course covers a wide range of topics that are essential for becoming a systems analyst, including systems analysis, business process improvement, and project management. The course also covers topics such as data modeling and requirements gathering. This course will help you build a strong foundation in systems analysis and prepare you for a successful career as a systems analyst.
Cybersecurity Analyst
The course covers a wide range of topics that are essential for becoming a cybersecurity analyst, including cybersecurity, risk management, and incident response. The course also covers topics such as network security and intrusion detection. This course will help you build a strong foundation in cybersecurity and prepare you for a successful career as a cybersecurity analyst.

Reading list

We've selected seven books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Node.js API Masterclass With Express & MongoDB.
As a complement to the course's focus on MongoDB, this book offers a comprehensive guide to MongoDB, providing thorough coverage of its features and best practices.
This comprehensive handbook covers the fundamental concepts, tools, and techniques of Node.js, serving as a valuable reference for both beginners and experienced developers.
Shares practical insights and techniques for building scalable and efficient Node.js applications, covering various aspects such as performance optimization and error handling.
Delving into Express.js, this book provides detailed guidance on building robust and scalable web applications, complementing the course's exploration of Express.
Provides a concise and focused guide to the essential parts of JavaScript, helping you write better and more maintainable code.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Node.js API Masterclass With Express & MongoDB.
MERN Stack Front To Back: Full Stack React, Redux &...
Most relevant
Modern JavaScript From The Beginning 2.0 (2024)
Most relevant
React Front To Back
Most relevant
Server-side Development with NodeJS
Most relevant
Building a Complete MEAN Stack Application
Most relevant
Backend RESTFul Server với Node.JS và Express...
Most relevant
Build a Node Server backend with Express
Most relevant
Cypress API test automation for absolute beginners
Most relevant
Angular & NodeJS - The MEAN Stack Guide [2024 Edition]
Most relevant
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser