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.