Skip to main content
  • Book
  • © 2016

Building APIs with Node.js

Apress
  • Teaches the latest version of JavaScript (ES6/EcmaScript 2015) in a practical way

  • Features a full-functioning example API and accompanying client-side application

  • Includes modern best practices for development, testing, and production

Buy it now

Buying options

eBook USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xvii
  2. Introduction to Node.js

    • Caio Ribeiro Pereira
    Pages 1-3
  3. Setting Up the Environment

    • Caio Ribeiro Pereira
    Pages 5-8
  4. Managing Modules with NPM

    • Caio Ribeiro Pereira
    Pages 9-13
  5. Building an API

    • Caio Ribeiro Pereira
    Pages 15-26
  6. Working with SQL Databases

    • Caio Ribeiro Pereira
    Pages 27-36
  7. CRUDify API Resources

    • Caio Ribeiro Pereira
    Pages 37-48
  8. Authenticating Users

    • Caio Ribeiro Pereira
    Pages 49-59
  9. Testing the Application: Part 1

    • Caio Ribeiro Pereira
    Pages 61-69
  10. Testing the Application: Part 2

    • Caio Ribeiro Pereira
    Pages 71-80
  11. Documenting the API

    • Caio Ribeiro Pereira
    Pages 81-91
  12. Preparing the Production Environment

    • Caio Ribeiro Pereira
    Pages 93-104
  13. Building the Client-Side App: Part 1

    • Caio Ribeiro Pereira
    Pages 105-119
  14. Building the Client-Side App: Part 2

    • Caio Ribeiro Pereira
    Pages 121-133
  15. Back Matter

    Pages 135-136

About this book

Learn how to build scalable APIs using the Node.js platform and ES6 (EcmaScript 2015) with this quick, informative guide.

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


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



  • Who This Book Is For 


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

    Authors and Affiliations

    • São Vicente - SP, Brazil

      Caio Ribeiro Pereira

    About the author

    Caio Ribeiro Pereira is a software engineer from Brazil who works with Node.js, JavaScript, Meteor, Ruby on Rails and other front-end frameworks. He has a Bachelor's degree in Information Systems, likes to blog in his free time, and is actively engaged in many local meet-ups including NodeBr, DevInSantos, Meteor Brazil and JavaScript Brazil.


    Bibliographic Information

    • Book Title: Building APIs with Node.js

    • Authors: Caio Ribeiro Pereira

    • DOI: https://doi.org/10.1007/978-1-4842-2442-7

    • Publisher: Apress Berkeley, CA

    • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

    • Copyright Information: Caio Ribeiro Pereira 2016

    • Softcover ISBN: 978-1-4842-2441-0Published: 16 December 2016

    • eBook ISBN: 978-1-4842-2442-7Published: 10 December 2016

    • Edition Number: 1

    • Number of Pages: XVII, 136

    • Number of Illustrations: 1 b/w illustrations, 44 illustrations in colour

    • Topics: Web Development

    Buy it now

    Buying options

    eBook USD 29.99
    Price excludes VAT (USA)
    • Available as EPUB and PDF
    • Read on any device
    • Instant download
    • Own it forever
    Softcover Book USD 37.99
    Price excludes VAT (USA)
    • Compact, lightweight edition
    • Dispatched in 3 to 5 business days
    • Free shipping worldwide - see info

    Tax calculation will be finalised at checkout

    Other ways to access