Giter Site home page Giter Site logo

collinmutembei / office-space-dockercon2017 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jzaccone/office-space-dockercon2017

0.0 1.0 0.0 146 KB

"Office Space" demo app for "Docker for Devs" talk at Dockercon2017

License: Apache License 2.0

Dockerfile 0.53% JavaScript 93.55% Shell 2.24% HTML 0.45% CSS 0.23% Java 2.62% Python 0.38%

office-space-dockercon2017's Introduction

Getting started

Download Docker. If you are on Mac or Windows, Docker Compose will be automatically installed. On Linux, make sure you have the latest version of Compose.

Compile the Java project

cd compute-interest-api
mvn package
cd ..

OR use the multi-stage build Dockerfile (Prereq- Edge Release: 17.04.0)

cd compute-interest-api
mv Dockerfile_multistage Dockerfile
cd ..

Run at the top level:

docker-compose up

The account summary will be running at http://localhost:5001.

About the app

This app mimicks the fictitious app idea from Michael Bolton in the movie "Office Space".

The app takes advantage of a financial program that computes interest for transactions by diverting fractions of a cent that are usually rounded off into a seperate bank account.

The app consists of a Java 8 / Spring Boot webserver that contains one method /computeinterest. In the implementation of this method, a connection to a MySQL database is made to deposit the rounded interest into an account. The Node.js app is a UI that shows the current account balance.

Transactions are simulated through the TransactionGenerator python app.

Architecture

Architecture Diagram

office-space-dockercon2017's People

Contributors

jzaccone avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.