Book Image

Beginning API Development with Node.js

By : Tamas Piros
Book Image

Beginning API Development with Node.js

By: Tamas Piros

Overview of this book

<p>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. </p><p> </p><p>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.</p>
Table of Contents (3 chapters)
Chapter 2
Building the API: Part 1
Content Locked
Section 3
Setting up Hapi.js
In this video, we’ll get acquainted with Hapi.js. In addition to this, we will also learn about: - Building a Basic Hapi.js Server - Using an API Client - Returning JSON Strings - Using nodemon for Development Workflow - Setting up the Logger