Skip to content

PP-Namias/Java-Rice

Repository files navigation

Java Rice Banner Java-Program All Contributors Java Rice license Java Rice forks Java Rice stars Java Rice issues Java Rice pull-requests Java Rice Visitors Java Rice downloads

Title: Java Rice - An Interactive Food Ordering System

Table of Contents

Introduction

Java Rice is a food ordering system designed to make the process of ordering food easier for users. The system is built using Java and Maven GUI, which provides an interactive and user-friendly experience. The purpose of this system is to allow users to order their favorite meals with ease and convenience.

Objectives

  • To provide a platform where users can order food with just a few clicks.
  • To make the process of food ordering fast and efficient.
  • To provide users with an interactive and user-friendly experience.
  • To provide a secure and reliable platform for food ordering.

Features

  • Menu Display: The application displays a menu of food items available for ordering.
  • Ordering: The user can select and add food items to their cart. They can also view their order history and make changes to their orders.
  • Payment: The user can pay for their orders using a payment gateway.
  • Admin Panel: The admin panel allows the restaurant owner to add, remove, or edit menu items. They can also manage orders, view sales reports, order logs, popular orders ,and track customer activity.
  • Promotions and Discounts: The system can offer promotional discounts, such as a percentage off or a free item with a purchase, to encourage customers to order.
  • QR Code Ordering: Customers can scan QR codes located at tables in the restaurant to access the menu and place orders without having to wait for a server.
  • QR Code Discounts: The system can use QR codes to offer promotional discounts or special offers to customers who scan them.

Methodology

  • The system will be built using Java programming language and Maven GUI for the front-end interface.
  • A database will be used to store all the information about the food items and orders.
  • The system will provide a user-friendly interface for users to place their orders.
  • The system will use secure payment methods to process the transactions.

Timeline

  • Planning and Design Phase: 2 weeks
  • Development Phase: 4 weeks
  • Testing and Debugging Phase: 2 weeks
  • Deployment Phase: 1 week

Limitations

  • The system will only be available for use on devices with Java and Maven GUI installed.
  • The system will only support online payment methods.
  • The system will not provide delivery services.
  • The system may require regular updates to keep up with the latest security and payment standards.

Criteria

  • Usability
  • Availability
  • Reliability
  • Maintainability
  • Security

Conclusion

Overall, Java Rice is a practical solution for restaurants looking for an easy-to-use food ordering system that integrates with payment gateways. With its intuitive interface and customizable options, Java Rice provides an ideal solution for restaurants looking to streamline their ordering process and enhance customer experience.

References

  • Java Programming Language Reference: Oracle Corporation
  • Maven GUI Reference: Apache Software Foundation

Appendix

  • Detailed project plan
  • Technical specifications
  • UI Design
  • Database

Flowchart

Java Rice [ Flowchart ]

Changelog

This is compilation and record of development progress and notable changes made from inside-out and start-to-finish of the program or also known as changelogs.

Alpha Build 1: February 3, 2023 - February 11, 2023

Planning and Designing Phase, this week's development progress will be focused on finding references, brainstorming, and planning for program design, as well as making the most of available time to ensure efficient and progressive coding in subsequent weeks.

The Plan is to make a structure of what program will be created, it includes the design of possible future User Interface of the program that will be used for referencing and on top of that is to brainstorm a plan as well as Logo Designing. Created four initial databases named as: Products, Carts, Order, Sales.

UI and Logo Design


Java Rice Logo
Java Rice Logo [Transparent]

Java Rice Banner with Logo
Java Rice Banner with Logo [Transparent]

Java Rice Menu Screen
Java Rice Menu Screen

Java Rice Cart [none]
Java Rice Cart [Default]

Java Rice Cart [sample]
Java Rice Cart [Example]

Java Rice Receipt [Default]
Java Rice Receipt [Default]

Java Rice Receipt [Example]
Java Rice Receipt [Example]

Database

CREATE TABLE IF NOT EXISTS Products (
	Product_ID SERIAL NOT NULL PRIMARY KEY,
	Name TEXT NOT NULL,
	Category TEXT NOT NULL,
	Store_num TEXT NOT NULL,
	Price DOUBLE PRECISION NOT NULL,
	Image OBJ NOT NULL,
	Popular BOOL NOT NULL
);
CREATE TABLE IF NOT EXISTS Cart (
	Product_ID SERIAL NOT NULL PRIMARY KEY,
	Name TEXT NOT NULL,
	Category TEXT NOT NULL,
	Store_num TEXT NOT NULL,
	Price DOUBLE PRECISION NOT NULL,
	Image OBJ NOT NULL,
	Quantity INT NOT NULL,
	Voucher TEXT NOT NULL,
	Discount DOUBLE NOT NULL
);
CREATE TABLE IF NOT EXISTS Order (
	Order_ID SERIAL NOT NULL PRIMARY KEY,
	Product_ID SERIAL NOT NULL,
	Name TEXT NOT NULL,
	Category TEXT NOT NULL,
	Store_num TEXT NOT NULL,
	Price DOUBLE PRECISION NOT NULL,
	Image OBJ NOT NULL,
	Quantity INT NOT NULL,
	Voucher TEXT NOT NULL,
	Discount DOUBLE NOT NULL
);
CREATE TABLE IF NOT EXISTS Sales (
	Order_ID SERIAL NOT NULL PRIMARY KEY,
	Product_ID SERIAL NOT NULL,
	Category TEXT NOT NULL,
	Store_num TEXT NOT NULL,
	Quantity INT NOT NULL,
	Date_processed DATE NOT NULL,
	Profit DOUBLE NOT NULL
);

Java Rice Banner
Java Rice Database [Relationship]

Forms

  • MainForm
  • DeveloperForm
  • Cashier
  • Receipt

Functions

  • Ordering system [Multiple Selections]
  • Auto-generated search bar
  • Receipt
  • Order logs
  • Items order
  • Order number
  • QR Code [Generator] [Reader]
  • Voucher Discounts

Color Palette

  • Main Background: #36414d
  • Foreground: #898b8e
  • Text (Dark): #36414d // Light Background
  • Text (Light): #bcc7c4 // Dark Background
  • Other:
    • #333333
    • #5182a1
  • Cart: #808080
    • #63656a
  • Footer: #0d0d0d
  • Logo:
    • #cc3300 // Java
    • #cc6600 // Rice

References for Databases

Store: [Name]#_

  1. Maestro Food Hub {Meal}
  2. Garvs' PaKanton {Noodles}
  3. Bam-bam's {Meal}
  4. Snap n' Bite {Snacks, [Fries, Burger, Hotdogs, Donuts]}
  5. RMBSJ: Tapsilogan ATB. {Set Meal}
  6. Kuya Lery: Pares ng Bayan {Noodles, Pares, Mami}
  7. Shake It Off {Snacks, Milk Tea, Shakes}
  8. Kitchen Nanay {Snacks, Meal}
  9. SnowJoe {Ice Cream, Cold Drinks}
  10. Happy Tummy {Set Meal, Noodles}

Food Price: ####.##

Products: [ProductName]

Food Category:

  • Beverages {Cola, Softdrinks, Tea, Coffee, Milk, Energy Drink, Hot Chocolate, Milk Tea (sub categ.?), Water, Juice}
  • Combo Meal {Rice + 2 dish, e.g.: Rice + Vegetable + Meat, or any combo}
  • Vegetables { Adobong Kang-kong, Pinakbet, Ginataang Kalabasa, Lumpiang Togue, Ginisang Togue, …}
  • Meat {Curry, Adobo, Bicol Express, Fried Chicken, …}
  • Fish {Paksiw, Fried Fish, Lumpiang Shanghai, …}
  • Snacks {Bananacue, Ginataang Bilo-bilo, Turon, …}
  • Noodles {Palabok, Pancit Bihon, Spaghetti, Pares, Mami, Lomi, Fried Noodles, Pancit Canton, Cup Noodles}
  • Milk Tea { }

Maestro Foodhub (meal)

  • meat vegetable combo
  • siomai rice
  • sizzling sisig
  • sizzling burger steak

Garvs kantuhan (Noodles)

  • Fried Noodles Hongkong Style Plain (Special 35php)
  • Fried Noodles with egg (45php)
  • Fried Noodles with pork siomai (45php)
  • Fried Noodles with sharkfin (45php)
  • Fried Noodles with beef (50php)
  • Pork Ramen (70php)

Bam-bam's (meal)

  • sizzling hotdog
  • sizzling sisig
  • sizzling burger steak
  • spaghetti

Snap n' Bite (meal & snacks)

  • sharksfin - 29
  • pork siomai - 29
  • gyoza - 29
  • lumpiang shanghai - 29
  • java rice meal - 39
  • java rice meal + 12 oz drink - 49
  • 12oz drink - 15
  • 16oz drink - 19
  • corndog bits
  • corndog

RMBSJ (Set meal)

  • Hotsilog - 45
  • Skinsilog - 45
  • Hamsilog -45
  • siomaisilog - 45
  • embosilog - 45
  • cornsilog - 50
  • tapsiloc - 55
  • chorizosilog - 45

Kuya Lery (Noodles)

  • Pares - 35
  • Pares with rice - 45
  • Mami - 30
  • Mami with rice - 40

Shake it off (Snacks, Milk Tea, Shakes)

  • Snacks
  • hamburger
  • hamburger w/egg
  • real cheese sticks
  • fries & hotdog w/ juice
  • fries w/juice
  • fries
  • footlong w/ cheese
  • half-long w/ cheese
  • Shakes
  • mango
  • cookies and cream

Kitchen Nanay (Snacks, Meals)

Snowjoe (Ice cream, cold drinks)

  • milk melon popsicle stick (Specialty 12Php)
  • Watermelon popsicle stick (12Php)
  • Chocolate mochi ice cream (13Php)
  • Cola 237mL(11Php)
  • Soda 237mL(11Php)
  • Lemon juice (15Php)
  • Orange juice (15Php)

Happy Tummy (set meal, noodles)

  • Milk tea
  • Fruit tea
  • pork sisig
  • fried noodles
  • fried noodles w/egg
  • fried noodles w/ siomai

Alpha Build 2: February 12, 2023 - February ##, 2023

Development Phase

Measurement

  • Footer: 1280 x 41
  • Main Product Window: 971 x 416
  • Category Background: 971 x 130
    • Category Rectangle: 243 x 48
    • Category Quad Box: 52 x 47
  • Cart Side Bar Background: 245 x 560
    • Cart Item: 205 x 110
    • Cart Button: 190 x 45
  • Search Bar: 707 x 286
  • Logo: 250 x 58

Font

  • Archivo
  • Arista
  • Bahnschrift
  • Myriad Pro

Database (Excel)

Beta Build 1

Testing, and Trial Run / Debugging Phase

Release Build

Deployment Phase, final