4.6 out of 5
4.6
119 reviews on Udemy

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
Instructor:
Cory Gackenheimer
692 students enrolled
English [Auto-generated]
Build a REST API with node
Understand expressjs
Use a MongoDB Database
use this API for web or mobile development

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.

Getting Started

1
Introduction

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.

2
Installing prerequisites
3
Installing Dependencies

Creating a MongoDB Database

1
Connecting to MongoLab
2
Creating A mongodb database locally

Building the API

1
Creating a test route
2
Create a database configuration

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.

3
Connecting to MongoDB

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.

4
Creating a User Schema and Model

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.

5
Making a Users POST Route to create users
6
Testing your users route
7
Adding Response Headers to the API
8
Adding sessionTokens to authenticated user requests
9
Add a login route and sessions
10
Add a workout definition model and schema
11
Add routes for CRUD operations on workout definition
12
Testing your existing routes
13
Create a Log Model and Schema
14
Create Logs Route
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.6
4.6 out of 5
119 Ratings

Detailed Rating

Stars 5
45
Stars 4
35
Stars 3
23
Stars 2
9
Stars 1
7
37f8d8196396f2009a9a6dff363fa858
30-Day Money-Back Guarantee

Includes

1 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion