Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.81 KB

README.md

File metadata and controls

44 lines (29 loc) · 1.81 KB

NodeJSApp

The NodeJSApp Container for Case Study 2 of the ICWE2016 Docker Tutorial

The rest of this readme comes from the example we used as starting point: https://github.com/scotch-io/node-todo

We updated the example with:

  • a couple of bugs, one client-side and one server-side (search for FIX in the codebase, to catch them)
  • an hit counter relying on Redis
  • MongoDB and Redis connection settings for Docker
  • a Dockerfile
  • a docker-compose.yml

Node Todo App

A Node app built with MongoDB and Angular. For demonstration purposes and a tutorial.

Node provides the RESTful API. Angular provides the frontend and accesses the API. MongoDB stores like a hoarder.

Requirements

  • Node and npm
  • MongoDB: Make sure you have your own local or remote MongoDB database URI configured in config/database.js

Installation

  1. Clone the repository: git clone [email protected]:scotch-io/node-todo
  2. Install the application: npm install
  3. Place your own MongoDB URI in config/database.js
  4. Start the server: node server.js
  5. View in browser at http://localhost:8080

Tutorial Series

This repo corresponds to the Node Todo Tutorial Series on scotch.io

Each branch represents a certain tutorial.

Happy Todo-ing!

Todo-aholic