Skip to content

A web application for a Grocery Store, featuring user authentication, search and filtering capabilities, shopping cart functionality, and administrator privileges. Built using PHP and MySQL Server.

Notifications You must be signed in to change notification settings

alaamoheb/GroceryApp

Repository files navigation

GroceryApp

Overview

This project is a web application for a grocery store, aiming to integrate databases with web development technologies. Website link: https://andalosstore.000webhostapp.com/index.php

Technologies Used

  • Database: MySQL Database Management System (DBMS)
  • Backend: PHP.
  • Frontend: HTML and CSS. (Bootstrap)
  • Repository Hosting: GitHub

Key Features

It offers a range of features to enhance the user experience, including:

  • Product Details: Comprehensive information on each product, including brand, price, discount, expiration date, and more.
  • Filtering Capability: Robust product search and filtering based on price range, brand names, and nationalities.
  • Search Functionality: Easy product search by name, brand, or price range.
  • Shopping Cart: Personalized shopping cart for users with the option to add or remove items.
  • Product Statistics: Displays the number of users who have purchased a specific product.
  • User Accounts: User registration and authentication with personalized sessions.

Administrator Privileges

  • View undelivered orders, manage product information, add/delete products, and utilize standard user functionalities.

Special Features

  • Simulate Payment Process: Simulates the payment process for a realistic shopping experience.
  • Random Discounts: Implement random discounts for near-expiry products to attract users. This can be integrated into the "/discounts.php" endpoint in the admin page .
  • Nationality Information: Displays product nationality details if it's 100% Egyptian.
  • Execluding Boycut Products: Users can exclude boycotted products—those with shareholders solely from specific countries.

App Endpoints

Note that some links here will redirect you to other pages and the reason is that these pages might not be available to you as a user who didn't make an account yet For example if you enter the page of the payment process you will be redirected to the home page because you didn't make an account yet and then you can't buy a product.

  • /register.php: Register a new user account.
  • /login.php: Log in to the application.
  • /product_details.php?id=27: View details of specific products.
  • /contact.php: Contact the team.
  • /about_us.php: View information about the app and the team.
  • /search.php?search=7-10&submit=: Search for products.
  • /filter.php?priceRange=20+-+28&brandName=egypt+foods&brandNationality=egypt&apply_filter=: Filter the products.
  • /shoping_cart.php?id=27p: Add a grocery item to the shopping cart.
  • /buy_form.php?id=27: Process the payment.
  • /admin_area/index.php: Manage Details like: view products , orders and expiration date of products.
  • /home.php: Home page of the application.

How to Run The Project

  1. Clone the repository: git clone https://github.com/alaaamoheb/GroceryApp
  2. Ensure that your server supports PHP and is configured correctly.
  3. Place the project files in the root directory of your server.
  4. Access the application through your server's URL, using the provided endpoints.
  5. Update any configuration files (e.g., database configuration) according to your environment.

Collaborators

[ Alaa Moheb - Sohaila Kandil - Abdulrahman Essam - Omnia Nabil]

About

A web application for a Grocery Store, featuring user authentication, search and filtering capabilities, shopping cart functionality, and administrator privileges. Built using PHP and MySQL Server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •