Build a REST API with node.js, ExpressJS, and MongoDB
4.4 (81 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
547 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Build a REST API with node.js, ExpressJS, and MongoDB to your Wishlist.

Add to Wishlist

Build a REST API with node.js, ExpressJS, and MongoDB

Learn all you need to build a powerful NodeJS based API server quickly and efficiently
4.4 (81 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
547 students enrolled
Created by Cory Gackenheimer
Last updated 11/2015
English
Current price: $12 Original price: $80 Discount: 85% off
3 days left at this price!
30-Day Money-Back Guarantee
Includes:
  • 1.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion

Training 5 or more people?

Get your team access to Udemy's top 2,000 courses anytime, anywhere.

Try Udemy for Business
What Will I Learn?
  • Build a REST API with node
  • Understand expressjs
  • Use a MongoDB Database
  • use this API for web or mobile development
View Curriculum
Requirements
  • Some JavaScript or coding familiarity
  • Knowledge of basic HTTP protocols for building REST APIs
Description

This course is designed to help you get off the ground building a REST API in NodeJS that you can use for your web or mobile application. This course will provide you with the tools and understanding of how to go about building an API server, accessing and manipulating data via this API. The database will be a MongoDB instance and you will be utilizing NodeJS to commnicate with that database and the client using the ExpressJS framework. This API will be able to serve data to web clients as well as mobile applications.

If you want to learn how to leverage the power of NodeJS and build a powerful API for your application you should take this course. The material will be covered in a manner that flows with how you would create an application in the wild so you can train your thought process to build your next great app.

Who is the target audience?
  • This course is designed for a developer wishing to create an API that will be accessible for either mobile or web based clients. The student should have some knowledge of JavaScript and programming basics as the course does kick off to quickly develop a well-defined API in a short amount of time.
Compare to Other MongoDB Courses
Curriculum For This Course
19 Lectures
01:28:41
+
Getting Started
3 Lectures 07:14

This lecture you will learn what to expect, what tools we'll be using to build our node.js API and how to move on from here.

Preview 02:18


+
Creating a MongoDB Database
2 Lectures 02:36
+
Building the API
14 Lectures 01:18:51

In this lecture you will include the dependencies to parse the body of a POST request and hash a password. You will then create a new database configuration file.

Create a database configuration
02:35

In this lecture you will connect to your MongoDB instance using your database configuration file that you just created. You will then create a users route that will include the expressjs router. In the next lecture you will continue to build upon this route.

Connecting to MongoDB
02:29

In this lecture you will create a userschema and model using mongoose. This is what will communicate with MongoDB and allow you to efficiently create and find users.

Creating a User Schema and Model
04:07

Making a Users POST Route to create users
07:27

Testing your users route
02:10

Adding Response Headers to the API
04:15

Adding sessionTokens to authenticated user requests
12:51

Add a login route and sessions
09:16

Add a workout definition model and schema
04:55

Add routes for CRUD operations on workout definition
12:06

Testing your existing routes
01:14

Create a Log Model and Schema
03:36

Create Logs Route
09:00
About the Instructor
Cory Gackenheimer
4.4 Average rating
92 Reviews
601 Students
2 Courses
Software Engineer, Lead Software Instructor

I am a software engineer with over a decade of experience programming. As a college student I worked in a nanophysics lab writing image analysis software. I have since worked for several companies ranging from government consulting to Medical Billing software utilizing a large variety of technologies. I am passionate about code and programming, and have a special place in my heart for JavaScript. I contribute to open source as a member of the jQuery Mobile Team. I have experience speaking internationally about technology topics. I have written the books "Nodejs Recipes" and "Introduction to React", both published by Apress.