Giter Site home page Giter Site logo

winston-dsouza / online-food-ordering-system Goto Github PK

View Code? Open in Web Editor NEW
170.0 12.0 106.0 13.85 MB

Online Food Ordering And Order Retrieval System

License: MIT License

Java 100.00%
javafx-desktop-apps java javafx dbms-project sql foodordering foody xampp database order-retrieval

online-food-ordering-system's Introduction

Online Food Ordering System License: MIT

The Online Food Ordering System(Foody) is a desktop app. It has a food ordering app for a customer and a separate app for order retrieval system for Restaurant.

Features

  • Authentication system guarding the app core.
  • Customers can browse the menu, Add/remove items to cart, track the order and can make payment online.
  • Customers can update password and can change the delivery address.
  • Data stored in a MySQL database
  • Friendly user interface with JavaFX

For screenshots click here

login menupage

Technologies

  • Java - widely used object-oriented language, the core of our system
  • JavaFX - Java user interface library
  • MySQL - data storage solution
  • JFoenix - JavaFX Material Design Library

Tools

Set Up Instructions For Running Application

  1. Set up your XAMPP environment(Apache Server, phpMyAdmin).
  2. Create the foody schema on the database tool, and import the database from the SQL file, or copy the SQL code.
  3. Download the project of the application and open it in NetBeans.
  4. Connect with the database in the Services tab under MySQL Server(localhost). The MySQL JDBC driver is embedded in the project.
  5. Enter your server properties(Host Name, Port Number, Admin UserName/Password).

Note The Foody folder is Food Ordering App and FoodyOrder folder is order retrieve App code

online-food-ordering-system's People

Contributors

winston-dsouza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

online-food-ordering-system's Issues

HTTP Status 500 – Internal Server Error

Hello,

"foody" was built successfully but it displayed this error screen instead of the ordering app. Please help.

HTTP Status 500 – Internal Server Error
Type Exception Report

Message An exception occurred processing [/index.jsp] at line [47]

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.apache.jasper.JasperException: An exception occurred processing [/index.jsp] at line [47]

44:                         <%
45:                             //Getting all cart details of the customer
46:                             ResultSet resultCount = DatabaseConnection.getResultFromSqlQuery("select count(*) from tblcart where customer_id='" + session.getAttribute("id") + "'");
47:                             resultCount.next();
48:                             int count = resultCount.getInt(1);
49:                         %>
50:                         <h3>


Stacktrace:
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:605)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:498)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Root Cause

java.lang.NullPointerException: Cannot invoke "java.sql.ResultSet.next()" because "resultCount" is null
	org.apache.jsp.index_jsp._jspService(index_jsp.java:162)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:465)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:383)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:331)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
Note The full stack trace of the root cause is available in the server logs.

Apache Tomcat/8.5.78

Error while running the application

Hello,

I am getting the below error while running the application. Please help.

C:\Users\Sai\Desktop\Capstone\Food order\Foody\nbproject\jfx-impl.xml:3550: The following error occurred while executing this line:
C:\Users\Sai\Desktop\Capstone\Food order\Foody\nbproject\jfx-impl.xml:3578: The following error occurred while executing this line:
C:\Users\Sai\Desktop\Capstone\Food order\Foody\nbproject\jfx-impl.xml:3597: The following error occurred while executing this line:
C:\Users\Sai\Desktop\Capstone\Food order\Foody\nbproject\jfx-impl.xml:1251: The following error occurred while executing this line:
C:\Users\Sai\Desktop\Capstone\Food order\Foody\nbproject\jfx-impl.xml:1328: Warning: Could not find resource file "C:\Users\Sai\Desktop\Capstone\Food order\Foody${libs.MySQLDriver.classpath}" to copy.
BUILD FAILED (total time: 1 second)

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.