JavaScript REST APIs: Getting Started

This course will teach you how to use Node, Express, and JavaScript to create a set of REST APIs needed to retrieve and modify data.
Course info
Rating
(15)
Level
Beginner
Updated
Jun 19, 2020
Duration
1h 23m
Table of contents
Description
Course info
Rating
(15)
Level
Beginner
Updated
Jun 19, 2020
Duration
1h 23m
Description

With the amount of mobile applications and the need for fast websites, REST API developers are in high demand. In this course, JavaScript REST APIs: Getting Started, you’ll learn to build a simple Node.js and express server and create a set of endpoints. First, you’ll be shown how to build an endpoint to retrieve data. Next, you’ll discover how to create endpoints for POST, PUT, PATCH and DELETE. Then, you'll delve into the different HTTP status codes you should return from each endpoint. Next, you’ll explore how to handle exceptions and return a standardized JSON document. Finally, you’ll see how to call your REST APIs from JavaScript using the XMLHttpRequest object. When you’re finished with this course, you’ll have the skills and knowledge of Node.js, Express, and JavaScript needed to build your own REST APIs for use in mobile or other applications.

About the author
About the author

Paul loves teaching and technology, and has been teaching tech and business topics for over 30 years. Paul helps clients develop applications, and instructs them on the best use of technology.

More from the author
Working with Geolocation in HTML
Intermediate
1h 35m
Apr 6, 2020
WPF for the Visual Basic Programmer
Beginner
1h 52m
Jan 21, 2020
More courses by Paul D. Sheriff
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello. My name is Paul Sheriff, and welcome to my course JavaScript REST APIs: Getting Started. I'm a business IT consultant at PDS Consulting with over 34 years of experience creating Enterprise applications. With the amount of mobile applications and the need for fast websites, REST API developers are in high demand. Using nothing more than Node.js, Express, and JavaScript, you can create a complete set of REST APIs to serve all your applications. This course illustrates step by step how to build APIs to search, insert, update, and delete data. Some of the major topics you will learn in this course are build a Node server using Express to host a set of REST APIs, use JavaScript to build REST APIs, build APIs to retrieve and search for data, build APIs to insert, update, patch, and delete data, learn to handle and log exceptions, add CORS to call REST APIs from a web page, and create a website using the Express generator. By the end of this course you will have gained a well‑rounded knowledge of building REST APIs using nothing more than JavaScript, Node.js, and Express. Before beginning this course you should be familiar with the basics of JSON, JavaScript, and Node. I hope you'll join me on your journey to building REST APIs using JavaScript in my course, JavaScript REST APIs: Getting Started at Pluralsight.com.