Web Development with MongoDB and NodeJS, 2nd Edition

Book Description

Build an interactive and full-featured from scratch using and MongoDB

About This Book

  • Configure your development environment to use .js and MongoDB
  • Use Node.js to connect to a MongoDB database and perform data manipulations
  • A practical guide with clear instructions to and develop a complete web application from start to finish

Who This Book Is For

This book is designed for JavaScript developers of any skill level that want to get up and running using Node.js and MongoDB to build full-featured web applications. A basic understanding of JavaScript and HTML is the only requirement for this book.

What You Will Learn

  • Configure your development environment to use Node.js and MongoDB
  • Write and configure a web server using Node.js powered by the Express.js framework
  • Build dynamic HTML pages using the Handlebars template engine
  • Persist application data using MongoDB and Mongoose ODM
  • Test your code using automated tools such as the Mocha framework
  • Deploy the development environment to the cloud using services such as Heroku, Amazon Web Services, and Microsoft Azure
  • Explore Single-Page application frameworks to take your web applications to the next level

In Detail

Node.js and MongoDB are quickly becoming one of the most popular tech stacks for the web. Powered by Google's V8 engine, Node.js caters to easily building fast, scalable applications while MongoDB is the perfect fit as a scalable, high-performance, open source NoSQL database solution. Using these two technologies together, web applications can be built quickly and easily and deployed to the cloud with very little difficulty.

The book will begin by introducing you to the groundwork needed to set up the development environment. Here, you will quickly run through the steps necessary to get the main application server up and running. Then you will see how to use Node.js to connect to a MongoDB database and perform data manipulations.

From here on, the book will take you through integration with third-party tools for interaction with web apps. It then moves on to show you how to use controllers and view models to generate reusable code that will reduce development time. Toward the end of the book, we will cover tests to properly execute the code and some popular frameworks for developing web applications.

By the end of the book, you will have a running web application developed with MongoDB and Node.js along with it's popular frameworks.

Style and approach

An easy guide to Node.js and MongoDB, which will quickly introduce you to the relevant concepts by taking you through the different steps involved in building a full-fledged web application.

Table of Contents

Chapter 1: Welcome to JavaScript in the Full Stack
Chapter 2: Getting Up and Running
Chapter 3: Node and MongoDB Basics
Chapter 4: Introducing Express
Chapter 5: Templating with Handlebars
Chapter 6: Controllers and View Models
Chapter 7: Persisting Data with MongoDB
Chapter 8: Creating a RESTful API
Chapter 9: Testing Your Code
Chapter 10: Deploying with Cloud-Based Services
Chapter 11: Single Page Applications with Popular Frontend Frameworks
Chapter 12 : Popular Node.js Web Frameworks

Book Details


How to Download? Report Dead Links & Get a Copy