Code Monkey home page Code Monkey logo

myretailstore's Introduction

MyRetailStore

This is the Flow for the Retail website Application. This application is basically used by The Store executive for discount based billing purpose and registering a new customer for the Store.

Overview

Create Retail website Application system which allows to do following operations:

  1. Login to application for Store Executive.
  2. Create new Customer.
  3. View Existing customer details.
  4. Apply Discounts based on Customer type.
  5. Bill Generation based on applied discounts.

System & technology used:

  1. Operating System: Mac OSX High Sierra.
  2. Eclipse Oxygen.
  3. Glassfish 5
  4. Java 8
  5. JSF 2.x
  6. Hibernate 5.x.x
  7. Primefaces 6.x.x
  8. MySQL database
  9. Sonar -- For test coverage
  10. pom.xml file contains all the dependencies (as it’s a maven project)

Credentials

Username : admin Password : admin123

Store Executive Login

alt text

Retail Application Summary page

In this page you have mainly 3 Tabs, first one is for fetching the customer info and generate discount based bill based on the Customer segments whether he is Staff,Affiliate or Customer who is over 2 years with the store

alt text

Validation

Validation to Enter Customer ID which is manadatory for all the customers

alt text

alt text

Customer Register

alt text

alt text

Entry in DB

alt text

Customer Information Summary Flow

On entering Customer ID and clicking on search it will display a panel which will show all the customer related data like his name, address,email,telephone and the segment of the customer with 2 options Bill entry or clear the search

alt text

Bill Entry

On Click of Bill entry option, the below form will appear where i have segregated the Customer purchases as 2 categories grocery items and non grocery items , as both have rsepective discounts for the store. On enetering amount based on purchases and generate bill it will show a popup with Bill invoice

alt text

alt text

Test Cases:

Case 1:- If the user is an employee of the store, he gets a 30% discount

alt text

Case 2:- If the user is an affiliate of the store, he gets a 10% discount

alt text

Case 3:- If the user has been a customer for over 2 years, he gets a 5% discount.

alt text

Case 4 :- For every $100 on the bill, there would be a $ 5 discount (e.g. for $ 990, you get $ 45 as a discount).

alt text

Case 5 :- The percentage based discounts do not apply on groceries.

alt text

Code Coverage Report:

alt text

myretailstore's People

Contributors

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