Have a personal or library account? Click to login
Web Development with MongoDB and NodeJS Second edition Cover

Web Development with MongoDB and NodeJS Second edition

Build an interactive and full-featured web application from scratch using Node.js and MongoDB

Paid access
|Nov 2015
Product purchase options

Key Features

    Book Description

    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.

    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 SinglePage application frameworks to take your web applications to the next level

    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.

    Table of Contents

    1. Welcome to JavaScript in full stack
    2. Getting up and running
    3. Node and Mongo Basics
    4. Writing an express.js server
    5. Dynamic HTML 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 nodejs web frameworks
    PDF ISBN: 978-1-78528-745-9
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2015
    Language: English
    Pages: 300