Restful Web API Design with Node.Js 10, 3rd Edition



0 reviews
Written by
Valentin Bojinov
Published by
Packt Publishing
QR code for Restful Web API Design with Node.Js 10, 3rd Edition
Published
Apr, 2018
ISBN 10
1788623320
ISBN 13
9781788623322
Pages
178

About Restful Web API Design with Node.Js 10, 3rd Edition


Design and implement scalable RESTful solutions in Node.js About This Book * Create a fully featured RESTful API solution from scratch * Leverage new features of Node.js 8.0, Express 4.0, MongoDB and NoSQL datastores to give an extra edge to your REST API design * Integrate MongoDB in your Node.js application to store and secure your data Who This Book Is For This book is targeted at web developers who have some experience with RESTful services. Basic JavaScript programming knowledge is required. No prior experience with Node.js or Express.js is expected. What You Will Learn * Install, develop, and test your own Node.js user modules * Comprehend the differences between an HTTP and RESTful application * Use self-descriptive URLs and set accurate HTTP status codes. * Eliminate third-party dependencies in your tests with mocking * Implement automation tests for REST enabled endpoint with Mocha * Secure your services with NoSQL database integration within Node.js applications * Integrate a simple frontend using JavaScript libraries that are available on a CDN server In Detail When building RESTful services, it is very important to choose the right framework. Node.js with its asynchronous, event-driven architecture, is exactly the right choice to build RESTful APIs. This book 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 how to use it to customize your RESTFul development process. You will begin with understanding the key principle which 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. You will then use the NoSQL database MongoDB to store data. You will also use self-descriptive urls and set accurate http status codes along with understanding how to keep their applications backward compatible. Further, implementing a full-fledged RESTful service, you will use swagger to document the API and implement automation tests for REST enabled endpoint with Mocha. Lastly you will go through some authentication techniques to secure your application.

Table of Contents


Chapter 1. REST What You Did Not Know
Chapter 2. Getting Started with Node.js
Chapter 3. Building a Typical Web API
Chapter 4. Using NoSQL Databases
Chapter 5. Restful API Design Guidelines
Chapter 6. Implementing a Full Fledged RESTful Service
Chapter 7. Preparing a RESTful API for Production
Chapter 8. Consuming a RESTful API
Chapter 9. Securing the Application
Chapter 10. Other Books You May Enjoy

BY NOW from this link http://www.amazon.com/gp/reader/1788623320

Recommended Books