Skip to content

vishal2133/Freshmart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Freshmart 🛒

Freshmart is an E-Commerce web application built using PHP, MySQL, CSS, and JavaScript. It provides a platform for users to shop for items like fresh vegetables, fruits, meats, and groceries, manage their shopping carts, and securely check out.

🚀 Features

For Users

  • Authentication: Secure modern Registration and Login system.
  • Product Browsing: Explore products across various categories (Vegetables, Fruits, Meats, Frozen).
  • Shopping Cart: Add, remove, and manage items in the cart securely.
  • Secure Checkout: Integrated payment gateway (Razorpay) for smooth transactions.
  • Payment Verification: End-to-end payment status handling.

For Administrators

  • Admin Dashboard: Top-level overview of sales, total products, and user statistics.
  • Product Management: Add, update, and remove products from the catalog.
  • Order Management: View and update the status of customer orders.
  • User Management: Oversee registered users on the platform.

🛠️ Technology Stack

  • Frontend: HTML5, CSS3, JavaScript, jQuery
  • Backend: Core PHP
  • Database: MySQL
  • Payment Gateway: Razorpay API

📂 Project Structure

  • public/: Contains user-facing pages, shop endpoints, checkout, and assets.
  • admin/: Administrator routes and control panel logic.
  • config/: Database connections and payment API configurations.
  • includes/: Reusable components such as headers, footers, and authentication checks.

⚙️ Installation & Setup

  1. Clone the repository:
    git clone https://github.com/vishal2133/Freshmart.git
  2. Local Environment setup: Move the project folder to htdocs (for XAMPP) or your local web server's root directory.
  3. Database Configuration:
    • Create a database in MySQL (e.g., freshmart).
    • Import the respective .sql schema if available.
    • Update your database credentials inside config/database.php.
  4. API Configuration:
    • Add your test Razorpay keys inside config/razorpay.php.
  5. Start: Navigate in your browser to http://localhost/Freshmart/public

🛡️ License

This project is open-source and available under the MIT License.

About

Freshmart is a full-stack PHP E-Commerce platform featuring user authentication, shopping carts, an admin dashboard, and secure Razorpay payment integration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors