This is a PHP e-commerce app that allows users to browse and purchase products online.
Browse products by category Search for products by name or description Add products to cart Checkout and complete purchase
- PHP
- MySQL
- HTML
- TailwindCSS
- JavaScript
To use this app, you will need to have PHP and MySQL installed on your computer.
Clone this repository to your local machine. run this command in your terminal
git clone https://github.com/SaleMint/salemint.gitCreate a MySQL database for the app and import the Initial_db.sql file located in the database folder. use the .env.example to create your own .env file located in the includes folder. Start a local PHP server by running the following command in the terminal:
php -S localhost:8000Open a web browser and navigate to localhost:8000 to view the app. Usage Browse products by category or search for products by name or description. Click on a product to view more details and add it to your cart. View your cart by clicking on the cart icon in the top right corner of the page. Proceed to checkout and complete your purchase. .
If you would like to contribute to this app, feel free to submit a pull request with your changes.