Giter Club home page Giter Club logo

sales-analyzer's Introduction

Sales Analyzer

System that analyzes files from ~/data/in and puts the analyzes in the ~/data/out folder. The original files are moved to ~/data/in/read. By default the routine runs every 10 seconds.

Prerequisites

  1. Maven 3.5 or newer
  2. Java SE 8 or newer
  3. Docker 17 or newer to build and run docker images

Verify prerequisites

java --version
mvn --version
docker --version

Create folder <HOME_PATH>/data/in, <HOME_PATH>/data/in/read and <HOME_PATH>/data/out

Build

mvn package

Start the application

From project folder:

java -jar target/sales-analyzer.jar

Exercise the application

curl -X GET http://localhost:9999/actuator/health
{"status":"UP"}

Build the Docker Image

From project folder:

docker build -t sales-analyzer target

Start the application with Docker

docker run -p 9999:9999 -v <HOME_PATH>/data:/root/data sales-analyzer

sales-analyzer's People

Contributors

kim-ae avatar

Watchers

 avatar  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.