Announcing Our First JavaScript Book: MEAN Machine

Chris Sevilleja

Hello friends! It's been a long road for us to get to this point, but today we finally launch our very first book! Thank you to everyone that's visited the site and supported us as we've grown into a great resource for developers.

What This Book is About

In recent years, JavaScript has emerged as a full stack language that is being used within giant organizations like Facebook, Yahoo, Google, and Microsoft.

MEAN Machine aims to teach Node and Angular from scratch. Youโ€™ve probably heard of the MEAN stack around the web and have been wondering whatโ€™s so great about it. Building with the four MEAN components can create not only amazing applications, but also a faster and easier development process.

This book is essentially 3 books in one:

  • Getting Started with Node
  • Getting Started with Angular
  • Building Applications with Node, Angular, Express, and MongoDB

What You'll Learn

For just $25, youโ€™ll gain a great real-world understanding of how to use Node and Angular. You will also learn the following:

  • Build Node/Express applications and RESTful APIs from scratch
  • Handle CRUD operations with MongoDB
  • Build dynamic Angular frontend applications from scratch
  • Build scalable and well-structured MEAN applications
  • Build a MEAN stack User CRM
  • Best practices and techniques in application development
  • Use Bower and Gulp for efficient development

Code Samples are provided in a GitHub repository to download and use for learning or within your own projects.

Get the Book



The Authors

This book was written by two of the authors:

about-chris Chris Sevilleja (@sevilayha)

Chris is one of the co-founders of Scotch and is pretty much in love with the MEAN stack.

7guXzbbG Holly Lloyd (@hollylawly)

Holly is an algorithms nerd, but she took time out of that to put down her knowledge of Node and Angular into this book.

Table of Contents

To see how much you'll be receiving, here is the table of contents for the book.

  • Preface
    • Conventions Used in This Book
    • Code Samples
    • Get In Contact
  • Introduction
    • Why MEAN?
    • When To Use the MEAN Stack
    • When NOT To Use the MEAN Stack
    • Whoโ€™s Getting MEAN?
  • Primers
    • MongoDB
    • Node.js
    • ExpressJS
    • AngularJS
  • MEAN Thinking
    • Client-Server Model
    • Book Outline
  • Getting Started and Installation
    • Requirements
    • Tools
    • Installation
  • Starting Node
    • Configuration (package.json)
    • Initialize Node App
    • Creating a Very Simple Node App
    • Starting a Node Application
    • Packages
    • Recap
  • Starting a Node Server
    • Sample Application
    • Method #1: Pure Node (no Express)
    • Method #2: Using Express
  • Routing Node Applications
    • Express Router
    • Sample Application Features
    • Basic Routes
    • express.Router()
    • Route Middleware (router.use())
    • Structuring Routes
    • Routes with Parameters (/hello/:name)
    • Recap
  • Using MongoDB
    • Installing MongoDB Locally
    • Common Database Commands
    • CRUD Commands
    • GUI Tool: Robomongo
    • Using MongoDB in a Node.js Application
  • Build a RESTful Node API
    • What is REST?
    • Backend Services for our Angular Frontend
    • Sample Application
    • Getting Started
    • Starting the Server and Testing
    • Database and User Model
    • Express Router and Routes
    • Route Middleware
    • Creating the Basic Routes
    • Creating Routes for A Single Item
    • Conclusion
  • Node Authentication
    • Why Token Based Authentication Came to Be?
    • The Problems with Server Based Authentication
    • How Token Based Authentication Works
    • The Benefits of Tokens
    • JSON Web Tokens
    • Breaking Down a JSON Web Token
    • Authenticating Our Node.js API
    • Route to Get User Information
    • Modules to Help with Authentication
    • Conclusion
  • Starting Angular
    • The State of JavaScript Applications
    • Introduction
    • Important Angular Concepts
    • Setting Up An Angular Application
    • Creating and Processing a Form
    • Conclusion
    • ngRoute
    • Node Server for Our Routing Application
    • Sample Application
    • The HTML For Our App
    • Angular Application
    • Injecting Pages into the Main Layout
    • Configuring Routes
    • Configuring Views
    • Conclusion
  • Animating Angular Applications
    • Animating Our Routing Application
    • How Does the ngAnimate Module Work?
    • How Animations Are Applied
    • Directives that Use Animation
    • Animating Our Routing Application
    • CSS Animations and Positioning
    • Conclusion
  • MEAN Stack Application Structure
    • Sample Organization
    • Organizing Node.js - Backend
    • Organizing AngularJS - Frontend
    • Testing Our Newly Organized App
  • Angular Services to Access an API
    • Types of Angular Services
    • The $http Module
    • A Sample Angular Service
    • User Service
  • Angular Authentication
    • Hooking Into Our Node API
    • Authentication Service
    • The Entire Auth Service File (authService.js)
    • Conclusion
  • MEAN App: Users Management CRM
    • Setting Up the Application
    • Main Application
    • Login Page
    • Authentication
    • User Pages
    • Recap of the Process
    • Next Up
  • Deploying MEAN Applications
    • Great Node Hosts
    • Deploying to Heroku
    • Git Repository
    • Deploying Our User CRM App
    • View Our Application in Browser
    • Using a Current Heroku App
    • Using Your Own Domain
    • Conclusion
  • MEAN Development Workflow Tools
    • Sample MEAN App
    • Bower
    • Gulp

Chris Sevilleja

163 posts

Co-founder of Slapping the keyboard until something good happens.