Giter Club home page Giter Club logo

discount-engine's Introduction

Discount Engine


This simple application will calculate discount on set of rules

Table of Contents

Introduction

This service is responsible for discount calculation. The decision will be take on the provided set of rules.

Features

  • Standalone service
  • Simple and small
  • Take inputs from file i.e. input.txt and validates
  • Basic business validations are added

Requirements

The application can be run locally. Containerization is in progress

Local

Quick Start

Make sure your maven is pointing to JAVA_HOME and JAVA_HOME is set to Java16 JDK. Import the project in any IDE and run through the IDE.

Improvements

  • Rules can be in yml files, code will import the yml and define the rules
  • Dynamic behaviour can be enhanced
  • Simple jar run with input-output file names as command line arguments
  • Serverless architecture
  • Integration with CICD i.e. jenkins / rancher
  • Integration with metrics collector i.e. prometheus
  • Integration with grafana for better visibility, observability and alerts
  • 100% Unit test code coverage

discount-engine's People

Contributors

oitejjho avatar

Watchers

 avatar  avatar

Forkers

mdmithuncse

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.