Skip to content

fuatsimsek/primefit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏋️‍♂️ Supplement Sales Platform

This project is an e-commerce platform where users can purchase various supplement products. It offers a wide selection including energy sources, protein powders, L-Carnitine, and many other supplements, all with a modern and user-friendly interface.

🚀 Features

  • 🟢 User login and registration system
  • 🟢 Add, edit, and delete supplements (Admin Panel)
  • 🟢 Product details and descriptions
  • 🟢 Add to cart and purchase operations
  • 🟢 User-friendly interface
  • 🟢 Mobile compatible

🛠️ Technologies Used

  • Frontend: HTML, CSS, Bootstrap, Javascript
  • Backend: PHP
  • Database: MySQL (managed via phpMyAdmin)
  • Server: WampServer

📦 Installation

  1. Download and install WampServer: WampServer

  2. Copy project files into C:/wamp64/www/.

  3. Database Connection:

    • To set up the database for the project, use the primefit.sql file. This SQL file contains the necessary schema and data to initialize the database.

    Steps:

    • Download the primefit.sql file and import it into your database management system (MySQL, PostgreSQL etc.).

    • Run the SQL file:

      If you are using MySQL, you can execute the following command via the MySQL terminal or GUI:

      SOURCE path/to/primefit.sql;
      

      The database will be created with the required tables and data for the project.

    • Make sure you have the correct permissions and your database environment is set up properly before importing the file.

    • Use the following code in your relevant PHP file to connect to the database:

      <?php
      // Database connection
      $servername = "localhost";
      $username = "root";
      $password = "";
      $dbname = "primefit";
      ?>

      And create a database named primefit and the related tables in phpMyAdmin on WampServer.

  4. Run the project:

    • In your browser, navigate to http://localhost/primefit

📸 Screenshots

A view from the homepage 1

Another view from the homepage 2

A view from the categories 3

A view from a product 4

A view from the admin panel 5

A view from product management 6

🛒 Usage

  • Users can register and log in to browse and purchase products.
  • Products can be added to cart and purchased.
  • Product management can be performed through the admin panel.

About

Advanced supplement sales platform – A modern e-commerce site for Protein, L-Carnitine, and energy supplements. PHP & MySQL supported, user-friendly interface!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors