Building APIs with Node.js

Building APIs with Node.jsReviews
Author: Caio Ribeiro Pereira
Pub Date: 2017
ISBN: 978-1-4842-2441-0
Pages: 136
Language: English
Format: PDF
Size: 10 Mb


This quick guide teaches you how to build scalable APIs using the Node.js platform and ES6 (EcmaScript 2015).
Developing systems for the wide range of devices available in the modern world requires the construction of APIs designed to work only with data in a centralized manner, allowing client-side applications to be developed separately and have a unique interface for the final user.
Node.js has proven itself to be an excellent platform for building REST APIs because of its single-thread architecture. It has a low learning curve and can be understood by anyone who has a basic understanding of the JavaScript language.
Use Building APIs with Node.js today to understand how Node.js APIs work, and how you can build your own.
What You Will Learn

  • How to build scalable APIs using the Node.js platform
  • How to use ES6, Express, Passport, ApiDoc, Mocha, Helmet and more
  • How to integrate an SQL database through Sequelize.js and build a single page application using Vanilla.js

Ideal for developers who have a basic understanding of JavaScript and Node.js.


Table of Contents

1: Introduction to Node.js
2: Setting Up the Environment
3: Managing Modules with NPM
4: Building an API
5: Working with SQL Databases
6: CRUDify API Resources
7: Authenticating Users
8: Testing the Application: Part
9: Testing the Application: Part
10: Documenting the API
11: Preparing the Production Environment
12: Building the Client-Side App: Part
13: Building the Client-Side App: Part