Code Monkey home page Code Monkey logo

ffood-shop's Introduction


FFOOD-SHOP

FFood is a food e-commerce site that lets customers order food in a quick and convenient way.

◦ Developed with the software and tools below. ◦

GNU%20Bash Grunt JavaScript scikitlearn HTML5 YAML PHP Python Docker jQuery NumPy FastAPI JSON Wikipedia java

GitHub license git-last-commit GitHub commit activity GitHub top language

Project ScreenShots:

project-screenshot

Table of Contents

Introduction

FFood is a food website that lets customers order food in a quick and convenient way.

Features

  • Register a User account.
  • Log in as a User.
  • Log in as a User through a Google account.
  • Log in as Employee (Admin, Staff, Promotion Manager)
  • Log out.
  • View Website information (contact information, location).
  • View Food by Categories.
  • View Food Details.
  • Rate Food.
  • Chat bot
  • Search Food by keyword.
  • Search Food by image.
  • User cart Management.
  • Payment option.
  • Place order as Guest.
  • Place order as User.
  • Personal User Account Settings.
  • View User’s Order History.
  • Help menu for Admins.
  • Change display language (Ordering System only).
  • Display today’s system status.
  • View Dashboard.
  • View Business Insight.
  • Food Management.
  • Order Management.
  • Promotion and Voucher Management.
  • User account Management for Admins.
  • Employee role Management (Admin, Staff, Promotion Manager).

Technologies

  • Java SE 1.8 (Java 8)
  • JSTL 1.2
  • Tomcat 10 (Java EE 7)
  • JavaScript ES6
  • Bootstrap 5.3.0
  • jQuery 3.7.0
  • jQuery Validation Plugin
  • Docker 24.0.6

Dependencies

  • Jakarta Servlet API (5.0.0)
  • Microsoft JDBC Driver for SQL Server (10.2.0.jre8)
  • Jakarta Standard Tag Library Implementation (Glassfish)

Dockerized Project 🚀🚀

  1. Install Docker on Window click here
  2. Check Docker version after install
docker --version
Docker 24.0.6
  1. cd into the cloned FFood-shop folder
git clone https://github.com/khengyun/FFood-shop.git
cd FFood-shop
## Run docker
docker compose up --build

Now, FFood running locally on your machine at: http://localhost:8080

License

This project is licensed under the MIT License.

ffood-shop's People

Contributors

hdkang2604 avatar huynhkhachuy avatar huynhvugenius avatar khengyun avatar quzanh1130 avatar tien-thanh-hua 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

Watchers

 avatar

ffood-shop's Issues

[Feature] Add UI for camera detect feature

Problem description

I have now perfected the food detection feature.

Preferred solution

let's add an interface to it

Alternative solutions (Optional)

No response

Additional context (Optional)

No response

Enhance homepage interface

Is your feature request related to a problem? Please describe.
Add popular food section and more food button

Describe the solution you'd like
Add a section for popular food and a button to show more food because have 132 food in database

image

Progress reports (19/10/2023) 🚀

Discussed in #64

Originally posted by HuynhVuGenius October 19, 2023
Branch: 311c9de

  • Để ngôn ngữ sau chữ đăng nhập và hiện cái tên ngôn ngữ lên trên.
  • Chỉnh số lượng ngay giữa, bỏ cái khung chỗ số lượng.
  • Cho tiền bề ngang nó rộng lên.
  • Nên hiển thị cái đơn chưa giao ở trên sắp xếp độ ưu tiên lại.
  • Đồng nhất giao diện.

 

[Feature] test

Problem description

test

Preferred solution

test

Alternative solutions (Optional)

No response

Additional context (Optional)

No response

test3 tag

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

[Bug] Can't add food by Admin Roles

Description

When i add food by admin roles nothing happening with database.

Severity

Critical

Steps to reproduce

...

Expected behavior (Optional)

No response

Operating system

Windows

Operating system version (Optional)

11

Browser

Microsoft Edge

Browser Version (Optional)

No response

Additional context (Optional)

No response

test14

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Language options for websites

Is your feature request related to a problem? Please describe.
This function allows users to select the display language

Add rating attribute for Food database object

Is your feature request related to a problem? Please describe.
To display the current rating of a food item, the rating data must be retrieved from the database. Unfortunately, there is no such attribute for the Food items.

Describe the solution you'd like
Add an extra attribute for the Food entity, titled "food_rating".

test6 tag

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

test11

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Status toast messages for admin actions (Add, Update, Delete)

Related problem

It's hard to figure out whether an action is successful, especially if the action requires a page reload, such as:

  • Adding/removing food items from the cart
  • Adding/updating/deleting an item from the database
  • Placing an order as a customer
  • Updating a user's own personal info or login password

Desirable solution

A similar implementation to quzanh1130's toast messages could be used. I'll do some extra UX research and add improvements if necessary.

Additional context

Due to my unfamiliarity with AJAX techniques, it might be difficult for me to trigger toast messages without reloading a page. But I'll do my best not to be overreliant on using parameters and attributes to trigger the toast messages post-reload.

test9

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

❌Logic error freezes screen with admin roles

Describe the bug
Website crashes after repeatedly clicking on the dashboard

Screenshots

Untitled.video.-.Made.with.Clipchamp.2.mp4
  • The website is completely unresponsive

Image

Desktop (please complete the following information):

  • OS: window 11
  • Browser firefox
  • Version: 0745692

☠️Login logic error🤦‍♂️

☠️☠️ extremely serious error ☠️☠️

Describe the bug
I entered the correct password but can't log in.

Screenshots

Untitled.video.-.Made.with.Clipchamp.1.mp4

Desktop:

  • Device: predator triton 500 se
  • OS: Window 11
  • Browser firefox
  • Version 98e3bf8

test12

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

test10

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Home page theming issues after modifying theme.css

Description

Many HTML elements using Bootstrap color classes have their colors changed, which negatively impacts the overall look and feel of the website.

Reproduction steps

  1. Go to home page ("/")

Expected behavior

Unpleasant color contrast on multiple elements using primary color background (hero banner), danger color background (discount tags)

Screenshots

Screenshot 2023-10-15 110033
Hero banner with low color contrast

Screenshot 2023-10-15 110133
Discount tags with low color contrast

Devices

Desktop:

  • OS: Windows 11 22H2 (build 22621.2428)
  • Browser: Microsoft Edge
  • Version: 117.0.2045.60

Additional context

This problem can be fixed by configuring classes in theme.css and/or using other background color classes for the affected HTML elements.

test14

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Do not have any history order

Describe the bug
I create a user and order after that, but when I view my order that empty.

Screenshots
image

Desktop (please complete the following information):

  • OS: Window
  • Browser Edge

[Bug] The images in the category are not the same size

Description

when i login in the homepage, i see The images in the category are not the same size

Severity

Minor

Steps to reproduce

...

Expected behavior (Optional)

No response

Operating system

Windows

Operating system version (Optional)

11

Browser

Microsoft Edge

Browser Version (Optional)

No response

Additional context (Optional)

No response

test8

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Update Log in form with Google Sign-in

Problem description

Logging in manually in 2023 sucks. Especially when almost everyone on the Internet has at least 1 Google account, it makes you wonder why isn't there a "Sign in with Google".

Possible solution

Add a "Log in with Google" button below the default Login button, but above the Signup link. There are some arguments to be made for whether it should be the de facto log-in method, but most Vietnamese (and non-tech people) are accustomed to the traditional layout, so I'll stick with that.

Additional information

  • Remove "Keep me logged in/Remember me" toggle (most websites store login info in cookies anyway, this toggle button only hurts UX)
  • New redesign may not be 100% based on the image below

image

test13

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

asdfasdfasdf

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

test5

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

[Bug] unable to register an account

Description

2023-10-27.09-10-58.mp4

Severity

Critical

Steps to reproduce

.

Expected behavior (Optional)

No response

Operating system

Windows

Operating system version (Optional)

11 h23

Browser

Microsoft Edge

Browser Version (Optional)

No response

Additional context (Optional)

No response

test4 tag

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Facebook and zalo contact!!!

Is your feature request related to a problem? Please describe.
Add Facebook, zalo and email contact to support customer

Describe the solution you'd like
Add Facebook, zalo icon
New email: f[email protected]

image

test7

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

test15

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

test2

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Add google map location

Is your feature request related to a problem? Please describe.
Help customer know where our shop location

Describe the solution you'd like
Add gg map location.

Additional context

      <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3817.1930812065903!2d105.73423656511284!3d10.013112967960716!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x31a0882139720a77%3A0x3916a227d0b95a64!2zVHLGsOG7nW5nIMSQ4bqhaSBo4buNYyBGUFQgQ-G6p24gVGjGoQ!5e0!3m2!1sen!2s!4v1697447209454!5m2!1sen!2s" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>

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.