Git Product home page Git Product logo

canteenmanagementsystem's Introduction

canteenManagementSystem

Java Cli project build using mvn,JDBC & Mysql database.

Purpose

Parpose of the project is to build CLI for Vender & Customer where customer can buy the food item and at any quentity if food item.

As a customer,

  • can view personal and wallet details
  • can order food items * can check the history of ordered food items

As a Food Vendor,

  • can view and update (accept/deny) the ordered food items status

Customer Login:

  • Shows list of available food items (menu) details.
  • Shows personal and Wallet details.
  • Customer can order food.
  • The order will be accepted only,when the customer had enough money for the ordered food in His/her wallet.
  • can check the status of their delivery.
  • can check their order history.

Food Vendor :

  • Customer can view his personal detail and order history. * can view the order request from customers. * can accept or deny the entire order.
  • customer details (custId, custName, etc..) are stored along with their wallet balance.
  • Customer can place their order in this portal. These orders go to the food vendor.
  • Food Vendor can accept/deny the order with proper comments.
  • Wallet balance should not go negative.
  • Customer can view their order status.

Application flow

The skeletal application contains a simple screen with list of food items (Menu).

  • The "place order" button is the default button (i.e., pressing "Place order" invokes the login function).
  • Customer should enter his customer id will take the customer to "place the order screen" along with the food id he selected.
  • Customer should enter the item id and quantity and "Place Order" button to place the order
  • On existing balance amount in customer Wallet, the order should be accepted or rejected with proper error message.
  • If the order is accepted, the token number should be generate using Random functionality and the order detail should stored in order table along with token number.
  • The token number displayed as confirmation of the order should be fetched from the database.
  • "Back to Menu" takes the customer back to the Menu list screen from all the screen.
  • Entering the "Vendor Admin Login” button in the Home screen will take to the Food Vendor login.

What I learn...

  • Java mvc pattern
  • mvn package manaager
  • JDBC driver
  • Mysql DataBase

local Env setup

clone repo.. make sure java and mysql-database is install on your system

cd canteenMnagementSystem
mvn install 
mvn package
java -cp target/canteen-management-system.jar com.hexaware.App

canteenmanagementsystem's People

Contributors

radhacs1970 avatar siddheshjungade avatar varunbarve-772 avatar vimalar0112 avatar

Stargazers

 avatar

Watchers

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