Git Product home page Git Product logo

charity-sale-backend's Introduction

Tech task for Software Engineer - Home_ex_12_2020_HMBS.pdf

Charity-Sale-BackEnd

Exercise

Description:

It is popular home cafeteria event and a local charity is looking to have a bake sale and second hand outlet to raise funds for the ones in need. They have promised you a public recognition if you make software to help run the sale.
There are five edible items they would like to sell on this sale with specific prices and quantities of each:

Brownie - 65c (48)
Muffin - 1.00 € (36)
Cake Pop - 1.35 € (24)
Apple tart – 1.50 € (60)
Water - 1.50 € (30)

Also they would like to sell toys and clothes, that people donate for sale. Sales list is limited to following items:
Shirt – 2.00 €
Pants – 3.00 €
Jacket – 4.00 €
Toy – 1.00 €

Quantity of each second hand item in stock is inserted on the day of bake sale.

Business rules:

Items for purchase are selected by clicking on picture of the product. Quantity equals amount of clicks on a product image.
Remember, that there is multiple sales persons, who are using tablets or mobile phones! Image should be grayed out, if it is out of stock.
Total amount of payment is shown in the bottom of the screen.
Below total amount is options to reset and checkout. Checkout prompts paid cash amount to be inserted.
The application must calculate the smallest amount of change to give a person if they overpay.
Validations and cash returned functionality works as in every store. Be logical

Technical stuff:

Build a neat front-end and backend.
Use REST service and Postgres database.
Configure docker containers for backend application and database.
Configure swagger for API-s.

Hint:

Use Stubs or Mocks or both when solving input and output problems.

Bonus:

Add functionality to read the items, quantity and price all from a configuration file to database.

charity-sale-backend's People

Contributors

access avatar

Watchers

 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.