Restful Web API Design with Node.Js 10, 3rd Edition
- Length: 178 pages
- Edition: 3rd Revised edition
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-04-30
- ISBN-10: 1788623320
- ISBN-13: 9781788623322
- Sales Rank: #124230 (See Top 100 Books)
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
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Restful Web API Design with Node.Js 10, 3rd Edition
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.