GithubHelp home page GithubHelp logo

mohit17067 / superstore_project Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 9.06 MB

A Superstore management system made with JavaFX.

Java 100.00%
javafx javafx-application javafx-project javafx-gui java javaproject superstore store serialization

superstore_project's Introduction

Superstore_Project

A Superstore management system made with JavaFX.
Superstore consists of stores and warehouses located in different cities. There are four types of Users involved - SuperUser, StoreAdmin, WarehouseAdmin and EndUser. The functionality of the project is explained below with the gif.

Requirement

Java 8 or above
javafx
SceneBuilder (optional)

Functionality

GIF FOR PROJECT

Login Page

The Application starts with a Login Page with the user types on the left and the login bars on the right.

  • Select the type of User from the left. Login fields can't be filled without selecting the user type. On pressing Login, an alert to select the user pops up.
  • Both fields are required and an alert is there if a field is empty. Invalid data in the fields is also not accepted.

SuperUser

There is one SuperUser for the entire project with userID and password - "SUser" (same :P).

  • SuperUser page shows the list of all stores and warehouses and a button to open a warehouse/store on selecting it.
  • Super User has the ability to create a store/warehouse.
    Every store is linked with one warehouse. Whenever quantity of any item in the store becomes 0, EOQ number of items are orders from the attached warehouse.
  • UpdateLink button updates the link of a store with a warehouse.

Warehouse Admin

  • Warehouse Page depicts the list of category of items present in the warehouse.
    Every category is divided into subCategories and every subCategory is divided in products
  • Warehouse Admin can create, update and delete a category, subCategory and Product.
  • Warehouse Admin can also view the data of other warehouses. Other warehouses button is used for this.

Store Admin

Store Admin has similar functionality as that of a Warehouse Admin.
Unlike any Warehouse Admin, a store admin can not view data of other stores

End User

EndUser login as a Guest User (no userID and password required at the login page).

  • First Page depicts a list of stores. EndUser can enter in any store for shopping.
  • A store shows the list of categories. Opening any category shows the list of subCategories and then products.
  • EndUser can select a product and add the units of the product in the cart.
  • Cart shows the list of items along with their quantity and price. Total price is shown in the right bar.
  • On checkout, the purchased units of items are removed from the store. If number of items in a store reaches 0, EOQ items ordered as explained above.
    If the item is also not available in the linked warehouse, the warehouse tries to search that item in other warehouses and returns a success response if the item is found. The quantity used is then reduced from the appropriate warehouse

The project uses Serialization and Deserialization. This means closing one instance of the project stores the work done in that instance in a text file db and starting the project again brings the last work done from the same file into the project. To know more, Google it :p.

superstore_project's People

Contributors

mohit17067 avatar

Stargazers

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