Skip to content
Official Repository for the Manning Book Getting MEAN with MongoDB, Express, Angular and Node, 2nd Edition.
JavaScript HTML Dockerfile CSS Makefile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Setting up master branch Sep 24, 2018
public/stylesheets Setting up master branch Sep 24, 2018
routes Setting up master branch Sep 24, 2018
views Setting up master branch Sep 24, 2018
.dockerignore Adding docker Nov 29, 2018
.gitignore Setting up master branch Sep 24, 2018
Dockerfile Adding docker Nov 29, 2018
Procfile Setting up master branch Sep 24, 2018
README.md Adding docker Nov 29, 2018
app.js Review feedback updates Nov 8, 2018
docker-compose.yml Adding docker Nov 29, 2018
makefile Adding docker Nov 29, 2018
package-lock.json [master] Updating project deps Jul 15, 2019
package.json [master] Updating project deps Jul 15, 2019

README.md

gettingMean-2

Getting MEAN Second Edition application code

This is the code for the sample 'Loc8r' application that is built through the course of the book Getting MEAN Second Edition.

Getting MEAN Second Edition is published by Manning, and teaches readers how to develop web applications end-to-end using the MEAN stack with Node 11 and Angular 7. It is currently in early access through the MEAP program, with new chapters being released regularly.

Note: if you have the First Edition of the book using Node 4 and Angular 1 you need the First Edition code instead.

The application at various stages

There will be named branches for the various states of the code throughout the book:

  • master Chapter 3 start: A blank Express 4.16.3 project
  • chapter-03 Chapter 3 end: Creating and setting up a MEAN project
  • chapter-04-views Chapter 4 mid-point: The data is hard coded into views
  • chapter-04 Chapter 4 end: Building a static site with Node.js and Express
  • chapter-05 Chapter 5: Building a data model with MongoDB and Mongoose
  • chapter-06 Chapter 6: Writing a REST API: Exposing your MongoDB database to the application
  • chapter-07 Chapter 7: Consuming a REST API: Using an API from inside Express
  • chapter-08 Chapter 8: Creating an Angular application with TypeScript
  • chapter-09 Chapter 9: Building a Single Page Application with Angular
  • chapter-10 Chapter 10: Building a Single Page Application with Angular: The next level
  • chapter-11 Chapter 11: Authenticating users, managing sessions and securing APIs
  • chapter-12 Chapter 12: Using an authentication API in Angular applications

Get the code to run on your machine

Pre-requisites:

  • Git installed
  • A command line interface capable of running Git commands
  • Node v11 installed

To get the code for a specific branch:

$ git clone -b branch-name https://github.com/cliveharber/gettingMean-2.git

Then change into the folder the git clone command will create:

$ cd getting-MEAN-2

And finally install the dependencies:

npm install

Getting the code via Docker

Pre-requisites:

  • Docker

To get the code for a specific branch:

$ git clone -b branch-name https://github.com/cliveharber/gettingMean-2.git

Then change into the folder the git clone command will create:

$ cd getting-MEAN-2

And finally run the docker containers

make build

To remove the containers when complete

make destroy

You can’t perform that action at this time.