Jump to ratings and reviews
Rate this book

RESTful Web API Design with Node.js 10: Learn to Create Robust Restful Web Services with Node.js, MongoDB, and Express.js

Rate this book

Design and implement scalable and maintainable RESTful solutions with Node.js 10

Key Features Create rich and scalable RESTful API solutions from scratch Explore the new features of Node.js 10, Express 4.0, and MongoDB Integrate MongoDB in your Node.js application to store and secure your data Book Description

When building RESTful services, it is really important to choose the right framework. Node.js, with its asynchronous, event-driven architecture, is exactly the right choice for building RESTful APIs.

This third edition of RESTful Web API Design with Node.js 10 will teach you to create scalable and rich RESTful applications based on the Node.js platform. You will be introduced to the latest NPM package handler and understand how to use it to customize your RESTful development process. You will begin by understanding the key principle that makes an HTTP application a RESTful-enabled application. After writing a simple HTTP request handler, you will create and test Node.js modules using automated tests and mock objects; explore using the NoSQL database, MongoDB, to store data; and get to grips with using self-descriptive URLs. You’ll learn to set accurate HTTP status codes along with understanding how to keep your applications backward-compatible. Also, while implementing a full-fledged RESTful service, you will use Swagger to document the API and implement automation tests for a REST-enabled endpoint with Mocha. Lastly, you will explore some authentication techniques to secure your application.

What you will learn Install, develop, and test your own Node.js user modules Understand the differences between HTTP and RESTful applications Use self-descriptive URLs and set accurate HTTP status codes Eliminate third-party dependencies in your tests with mocking Implement automation tests for a REST-enabled endpoint with Mocha Secure your services with NoSQL database integration within Node.js applications Integrate a simple frontend using JavaScript libraries available on a CDN server Who this book is for

If you are a web developer keen to enrich your development skills to create server-side RESTful applications based on the Node.js platform, this book is for you. Some knowledge of REST would be an added advantage, but is definitely not a necessity.

Table of Contents REST – What You Did Not Know Getting Started with Node.js Building a Typical Web API Using NoSQL Databases Restful API Design Guidelines Implementing a Full fledged RESTful Service Preparing a RESTful API for Production Consuming a RESTful API Securing the application

180 pages, Kindle Edition

First published January 1, 2015

32 people are currently reading
50 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (19%)
4 stars
12 (29%)
3 stars
17 (41%)
2 stars
4 (9%)
1 star
0 (0%)
Displaying 1 - 6 of 6 reviews
1 review
July 2, 2016
Currently,I have finished the first 2 chapters.I found several downsides of the book:
1. web editor the author recommended is unfamous and in minority, seldom developers might use enide studio.As a result,its degbugging functionality is not applied to me and RESTClientTool is suitable for me.
my Suggestions:
a.use common middle-level editors,say,sublime or brackets or atom or visual studio code.
b.Also,the node debugging should involve node-inspector module or VSC debugging.
c.use the Postman( a chrome plugin) to replace RESTClientTool of the Enide studio.

2.function or variable name convention is not good.It would be more favorable that test_add should be changed to testAdd which uses camelCase name convention.

3.It would be less confused to use modules.exports compared with exports.
Profile Image for Ciprian Dobre-Trifan.
Author 2 books8 followers
November 28, 2015
step by step guide with a lot of code starting from scratch. I recommend it to those such as I who want to get started with REST app development in Node.JS having minimal Node knowledge.
Profile Image for Samuel.
229 reviews5 followers
December 8, 2021
AMAZING resource for API designers in Node.js. I found this book had everything I needed to get started and nothing more. This guide helped fully round me out as a full stack developer.
Profile Image for David.
134 reviews23 followers
August 13, 2016
A lot of review for NodeJS developers and although it would age better if coding examples used ES6, it certainly isn't essential. This material is targeted more at a new NodeJS/Express developer and provides a nice (not excellent) tour of the technologies in use, terminologies and design patterns. It doesn't provide enough depth to be a great reference book, but should be more than sufficient for beginning (and a nice review for intermediate) NodeJS Web developers.
11 reviews
August 15, 2015
Not much cover the REST theory and codes are a little bit obsolete. But explains the API implementation detail. If u already know REST and want to know the basic implementation of API, should try it.
Displaying 1 - 6 of 6 reviews

Can't find what you're looking for?

Get help and learn more about the design.