GithubHelp home page GithubHelp logo

georgeevil / cars_sample_app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from observeinc/cars_sample_app

0.0 1.0 0.0 24.72 MB

Sample App multi tier Java/.NET/GoLang app running on Kubernetes utilizing AWS services

Shell 0.51% JavaScript 0.27% Python 3.37% Java 54.69% C# 2.53% CSS 3.31% Swift 18.94% HTML 10.30% HCL 3.39% Dockerfile 2.68%

cars_sample_app's Introduction

Cars Sample App Readme

NOTE: If you are looking for the AppDynamics Cars App used for SE recruiting, this is now in its own repo.

This is a web app which provides for a Super car store which has a couple of performance/code issues. The app can be built with Maven and deployed into Kubernetes

Quick Start

All containers are in DockerHub so deploying kuberneters/cars_app.yaml to a K8s cluster will get this up and running. Not the web-server is not exposed by default, this can easily be done with the following

kubectl expose deployment cars-deployment-web --type=NodePort

Architecture

The app is based on an AngularJs front end, calling back to RESTful services, based on Jersey, with a MySQL back end DB, Nginx proxy up front and a Go based Insurance Service

image

There is also a iOS mobile app which uses the same REST endpoints. This app is described in it's own README.

Repo Layout

Most of the code for the app is in this repo, the exception is the Go Insurance Service.

There are a number of directories in this repo for the other components, each has their own README describing the contents

  • web_server - Contains the web server config
  • app_server - All the code and config for the Tomcat layer, this is where the bulk of the code sits
  • db_server - Schema and container definition for MySQL
  • cron_cleanup - A CronJob that runs to clean up after the load test
  • JMeter - Definition for the load testing
  • Demo Monkey - Demo Monkey scripts to skin the demo
  • kubernetes - Config for standing up the whole app in K8s
  • demo_marshaller - Container and app_server YAML files for cycling issues and scaling of app_server
  • prometheus - Container def for collecting metrics
  • mobile/iOS - Mobile app for Cars
  • docimages - Just the images for the READMEs

cars_sample_app's People

Contributors

tombatchelor avatar ako111 avatar dependabot[bot] avatar wilsonmar avatar

Watchers

James Cloos 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.