Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 1.59 KB

File metadata and controls

35 lines (20 loc) · 1.59 KB

MEAN Stack Reference

This monorepo templates a containerized barebones MEAN stack architecture.

MEAN Stack

Base Technologies

  • MongoDB - Document based NOSQL database, ideal for small scale JavaScript based projects.
  • Express.js - Minimalist web framework running on Node.js.
  • Angular - Front-End Javascript Framework. Do not confuse with Angular.js.
  • Node.js - Server-side JavaScript Runtime, the backbone of all our services/containers.

Additional Technologies

These technologies are not part of the MEAN stack, but are implemented in this repository in order to improve the development experience.

  • Docker - Virtualization Engine for containerizing our application's architecture. This repo in particular leverages Docker Compose to configure, build, initialize, and tear down our multi-container application using simple Up and Down commands within Docker's CLI.
  • NGINX - Open Source Web Server, used by our docker containers to mount our Angular SPA application.

Primer

This Article by MongoDB offers a good primer to those new to the MEAN Stack.

Configure Development Environment

Start Docker Containers Using Docker Compose

To build and run the docker containers all at once (and in the correct order), simply run:

docker compose up -d --build

To stop the containers all at once, run:

docker compose down --remove-orphans