Code Monkey home page Code Monkey logo

novicapstore's Introduction

Shopping Cart

The cart example represents a shopping cart in an online store. The client can add an item to the cart, remove an item, or retrieve the cart’s contents.

The products are constantly changing by adding, removing, and repricing, so they are configurable with a json file (products.json).

The checkout process allows for items to be scanned in any order, and should return the total amount to be paid. Total cost of a cart can be discounted by applying the following discounts:

  • 2-for-1 promotions (buy two of the same product, get one free)
  • bulk purchases (buying x or more of a product, the price of that product is reduced)

Prerequisites

  1. Java 8
  2. Maven 3.3 (or higher)

How to run application

To be able to see the application in action you must follow these steps:

  1. run mvn clean install package
  2. run java -jar target/novi-cap-store-0.0.1.jar

License

This product is available under the MIT license. See the LICENSE file for more info.

novicapstore's People

Contributors

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