Giter Club home page Giter Club logo

e-commerce-store's Introduction

Food Ordering Ecommerce Store with PayPal Payment and Admin Panel

This E-Commerce Store is a dynamic web application. The application is developed using PHP for server-side scripting, MySQL for database management, Bootstrap for front-end design, and PDO (PHP Data Objects) for database connectivity.

Netlify Status

Demo

See DEMO

Features

  • User Registration and Authentication.
  • Browse and Search Food Items
  • Add Food Items to Cart
  • View Cart and Proceed to Checkout
  • PayPal Payment Integration for Secure Transactions
  • Admin Panel to Manage Food Items, Orders, and Users

Requirements

  • PHP 7 or higher
  • MySQL database
  • Web server (e.g., Apache, Nginx)
  • Xampp
  • PayPal Developer Account for Sandbox/Production API credentials

Ideas and Suggestions

Please kindly mail me at [email protected]

Installation

Clone the repository to your web server's root directory:

git clone https://github.com/Gichbuoy/E-commerce-Store.git
  1. Create a new MySQL database for the application and import the database.sql file to set up the required tables.

  2. Update the database credentials in config.php

<?php
define('DB_HOST', 'your-database-host');
define('DB_NAME', 'your-database-name');
define('DB_USER', 'your-database-username');
define('DB_PASSWORD', 'your-database-password');
?>

Set up your PayPal API credentials with your own sandbox Business account app client ID in charge.php

<div class="container">
                <script src="Your paypal API credentials "</script>
            </div>

Start your web server and access the application in your web browser.

Directory Structure

E-Commerce-Store/
|   404.php
|   about.php
|   contact.php
|   faq.php
│   index.php
|   LICENSE
|   shop.php
│
├───admin-panel
│       admins
│       category-admins
│       layouts
│       orders-admins
│       product-admins
|       styles
|       index.php
│
├───auth
|       login.php
|       logout.php
|       register.php
│
|───config
|       config,php
|
├───includes
│       footer.php
│       header.php
│
|───products
|       cart.php
|       charge.php
|       checkout.php
|       delete-product.php
|       detail-product.php
|       success.php
|       update-product.php
|
|───users
|       setting.php
|       transaction.php

Contributing

Pull requests are welcome. For major changes or feature requests, please open an issue first to discuss what you would like to change.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Thanks to the PHP, MySQL, Bootstrap, and PDO communities for their excellent tools and libraries. I would also like to thank my instructor Mohamed Hassan for the help and guide in building this project

e-commerce-store's People

Contributors

gichbuoy avatar

Stargazers

 avatar  avatar

Watchers

 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.