Git Product home page Git Product logo

self-checkout-wpf-mvvm-project's Introduction

Self-Checkout MVVM Program

Self-Checkout is interface project to enable self checkout in a store scenario. The project is developed using MVVM design pattern, is DB-First and uses example Store DB as it assumes the store should already have DB filled with products and their respective categories.

๐Ÿ” Overview

๐Ÿ“ท Images

Welcome View


Welcome View img

Checkout View


Checkout View img

Post Purchase View


Post Purchase View img

Printed Sample Bill


Sample Bill img
๐ŸŽฌ Checkout Example

Checkout Example

Checkout Example gif

๐Ÿ›  Features

  • Loading products from DB
    • Filling product categories for manual search if EAN-13 code is not known
    • Placeholder icons for products that have no icons in DB
  • Saving finalized order information to DB
  • Touch screen support + keyboard input support (As a solution to barcode scanners as these work like a keyboard.)
    • Entering of digits Hotkeys
    • Clear Screen Hotkey (Backspace)
    • Add product to list from screen code Hotkey (E)
    • Go back to welcome screen Hotkey (R)
  • Support of weighted products (Currently generating random weights as placeholder for a real scale.)
  • Printing of bills (.pdf file by default. Done By using Microsoft To Pdf Printer.)
  • Program loop

โš™ How to run the program locally

โš  Design view may not render if visual studio version is lower than 2019 16.6 and the option Use the preview Windows Forms designer for .NET Core apps is disabled.

โ— By default bill printing works by printing to .pdf file in PrintOuts folder located in bin/Debug or bin/Release this may โ— NOT work if you do not have Microsoft Print to PDF Printer installed. Edit Config/Receipt.cs PrinterName and disable PrintToFile or install Microsoft Print to PDF if that is the case.

โ— By default the program uses localhost as the ip for DB and also uses windows authentication. Edit connection string in App.config if needed.

  1. Clone this repository
  2. Create DB named Store and SQL Tables - (SQL_CreateTable.txt)
  3. Insert records into tables - Example records (without product images) - (SQL_Insert.txt)
  4. Run the project file, right click the solution and rebuild it
  5. Switch the configuration from Debug to Release to run the program in fullscreen as intended without any extra controls that could create security breach

self-checkout-wpf-mvvm-project's People

Contributors

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