Code Monkey home page Code Monkey logo

auction-system's Introduction

auction-system

A simple auction system implementation, provides a bid tracker interface and concrete implementation with the following functionality:

  • Record a user's bid on an item
  • Get the current winning bid for an item
  • Get all the bids for an item
  • Get all the items on which a user has bid

The project includes an API, implementation, unit tests and a barebones web frontend.

Run the web frontend (e.g. in linux) with the following commands:

mvn clean install
java -jar webapp/target/webapp-1.0.0-SNAPSHOT.jar

then browse to http://localhost:8080

For the known issues, please check the github issue tracker at https://github.com/ilCatania/auction-system/issues

auction-system's People

Contributors

ilcatania avatar dependabot[bot] avatar

Watchers

 avatar  avatar

Forkers

rahul-patil1600

auction-system's Issues

Handle bidding corner cases

Currently, several corner cases when bidding on items are not handled or behave in a nondeterministic way, for example:

  • When two users bid with the same amount, it's unclear who will be returned by getWinningBid()
  • An user can potentially issue a bid with a lower price than his previous bid

Externalize properties from persistence.xml

Some properties used for testing (e.g. hibernate schema generation) were typed directly into the persistence.xml file. They should be externalized in a properties file so that production values can be set differently from test context values

Improve unit test coverage

right now, the integration test only cover successful use cases. It should also cover missing parameter handling, etc.

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.