RESTful Web API Design with Node.js
- Length: 138 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2015-03-30
- ISBN-10: 1783985860
- ISBN-13: 9781783985869
- Sales Rank: #3952568 (See Top 100 Books)
Design and implement comprehensive RESTful solutions in Node.js
About This Book
- Design, implement, and route Node.js RESTful services with the Express framework module
- Test user-developed modules with Nodeunit and module mocking with SinonJS
- Use this practical guide to integrate MongoDB in your Node.js application
Who This Book Is For
If you are a web developer wanting to enrich your development skills to create scalable, server-side, RESTful applications based on the Node.js platform, this book is for you. You also need to be aware of HTTP communication concepts and should have a working knowledge of JavaScript. Knowledge of REST would be an added advantage but is definitely not a necessity.
What You Will Learn
- Learn about NoSQL data stores and integrate MongoDB in your Node.js application with Mongoose
- Install, develop, and test your own Node.js user modules
- Eliminate third-party dependencies in your tests with mocking
- Comprehend the differences between an HTTP and RESTful application
- Optimize RESTful service URI routing with best practices
- Secure your services with NoSQL database integration within Node.js applications
In Detail
In this era of cloud computing, every data provisioning solution is built in a scalable and fail-safe way. Thus, when building RESTful services, the right choice of the underlying platform is vital. Node.js, with its asynchronous, event-driven architecture, is just the right choice to build RESTful APIs.
This book will be your step-by-step guide in the RESTful world of Node.js. It starts with the implementation of a simple HTTP handler application and follows its evolution to a completed RESTful service solution, which introduces you to the best practices in developing RESTful services.
Table of Contents
Chapter 1: REST – What You Didn’t Know
Chapter 2: Getting Started with Node.js
Chapter 3: Building a Typical Web API
Chapter 4: Using NoSQL Databases
Chapter 5: Implementing a Full-fledged RESTful Service
Chapter 6: Keeping the Bad Guys Out