Book description
Build an interactive and full-featured web application from scratch using Node.js and MongoDB
About This Book
- Configure your development environment to use Node.js and MongoDB
- Use Node.js to connect to a MongoDB database and perform data manipulations
- A practical guide with clear instructions to design 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 testing 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 network 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
-
Web Development with MongoDB and NodeJS Second Edition
- Table of Contents
- Web Development with MongoDB and NodeJS Second Edition
- Credits
- About the Authors
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Welcome to JavaScript in the Full Stack
- 2. Getting Up and Running
- 3. Node and MongoDB Basics
- 4. Introducing Express
- 5. Templating with Handlebars
- 6. Controllers and View Models
- 7. Persisting Data with MongoDB
- 8. Creating a RESTful API
- 9. Testing Your Code
- 10. Deploying with Cloud-Based Services
- 11. Single-Page Applications with Popular Frontend Frameworks
- 12. Popular Node.js Web Frameworks
- Index
Product information
- Title: Web Development with MongoDB and NodeJS - Second Edition
- Author(s):
- Release date: October 2015
- Publisher(s): Packt Publishing
- ISBN: 9781785287527
You might also like
book
Web Development with MongoDB and Node.js
Build an interactive and full-featured web application from scratch using Node.js and MongoDB In Detail Node.js …
book
Web Development with MongoDB and Node - Third Edition
Use the two popular web development stacks, Node.js and MongoDB, to build full-featured web applications About …
book
Learning Node.js, Second Edition
Learning Node.js brings together the knowledge and JavaScript code needed to build master the Node.js platform …
book
Learning Node.js Development
A comprehensive, easy-to-follow guide to creating complete Node apps and understanding how to build, deploy, and …