Video description
Build highly scalable, developer-friendly APIs within the JavaScript and Node.js ecosystem
About This Video
- Learn how to adopt an asynchronous programming approach with Node.js
- Develop your very own scalable, high-performing API using Hapi.js and Knex.js
- Discover how you can create unit tests to ensure reliability and maintainability
In Detail
As a web developer you’ve probably heard a lot about APIs and microservices over the last few of years. In this course we’ll show you exactly how to get started with building out your own API, which you can remix and extend to seamlessly integrate with other services.
After a refresher on Node.js we’ll take a look at the asynchronous programming model, which is key to understanding why Node.js is a good fit for API development. We’ll then dive right into building out our example API followed up with coverage on how to create companion unit tests to make sure everything is set for production. This serves as a great starting point for adaptation and extension for personal projects.
Table of contents
-
Chapter 1 : Introduction to Node.js
- Course Overview 00:02:14
- Setting Up the Environment 00:04:43
- Title Map 00:00:10
- Lesson Overview 00:00:55
- The Basics of Node.js 00:01:54
- The Module System 00:07:13
- Handy npm Commands 00:02:12
- Local Modules 00:00:50
- Asynchronous Programming with Node.js 00:02:00
- Promises 00:01:33
- Summary 00:00:59
-
Chapter 2 : Building the API: Part 1
- Lesson Overview 00:00:51
- Building a Basic HTTP Server 00:02:20
- Setting up Hapi.js 00:11:06
- Understanding Requests 00:12:56
- Summary 00:00:38
-
Chapter 3 : Building the API: Part 2
- Lesson Overview 00:01:00
- Working with the DB Using Knex.js 00:06:49
- Creating a Record 00:05:20
- Reading from the database 00:04:39
- Editing a Record 00:05:10
- Clean-Up 00:02:07
- Authenticating Your API with JWT 00:09:43
- Testing Your API with Lab 00:12:00
- Summary 00:00:57
Product information
- Title: Beginning API Development with Node.js
- Author(s):
- Release date: May 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789349962
You might also like
video
Mastering Node.js
Using the JavaScript you already know to build powerful applications from console applications that can assist …
video
Node.js in Motion
"Very good, very appropriate for the beginner audience." Tanya Wilke Inside: Node in Motion is a …
book
Beginning API Development with Node.js
Learn everything you need to get up and running with cutting-edge API development using JavaScript and …
video
Node.js in 7 Days
Build strong Node.js foundations in 1 week About This Video Get to grips with building, testing, …