Market-App is a dynamic web application. It is a group project through CTIS256 course.
- Batu Uzun
- Berk Bera Özer
- Ege İliman
- Mehmet Enes Çakır
The main objective of [Market-App] is to create a market-customer system that facilitate to sell products that are nearing their expiration date at a lower price than their normal price..
- Register to the system
- Update/edit own information
- CRUD (Create/Read/Update/Delete) of own products
- Register to the system
- Update/edit own information
- Search products with keywords (searchbar)
- See products that are near to the customer (district and city precedence)
- Session-based shopping card system to buy products, purchase/delete actions on shopping card
- Usability: Sticky-form functionality, form validation, Email verification (PHPMailer)
- Security: CSRF, XSS, SQL Injection preventions. Non-empty input parameters.
- UI: Bootstrap, Free CSS UIs, HTML Form Template
- PHP
- MySQL
- Apache Web Server
- CSS
- HTML
- Git
- WAMP
- Clone the repository:
git clone [repository URL]
- Install dependencies:
composer require phpmailer/phpmailer
- Config/config.php: Inside config.php file, add const EMAIL and PASSWORD variable to your mail account.
- Also set proper SMTP server for your mail account
![](https://private-user-images.githubusercontent.com/102901204/338147409-7cc272ed-f4db-4fa8-86bc-5f4a3cdd21dd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjcwMjAsIm5iZiI6MTcyNDEyNjcyMCwicGF0aCI6Ii8xMDI5MDEyMDQvMzM4MTQ3NDA5LTdjYzI3MmVkLWY0ZGItNGZhOC04NmJjLTVmNGEzY2RkMjFkZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDA1MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kZGY4YTYzYWY0YThkZTkyZjI1NDRhMDg1YTY1NmUwY2JkODEzZjliOWM5N2Q5MTc5NTIwMWZhMzMxYzdmMGMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.JDgRZVRgNAHYxcXdNOQ1M4-jmmJgeuo8AL8xpCdFYb4)
![](https://private-user-images.githubusercontent.com/102901204/338147461-9d082e33-dfd0-466b-ad79-334c9eff4ba7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjcwMjAsIm5iZiI6MTcyNDEyNjcyMCwicGF0aCI6Ii8xMDI5MDEyMDQvMzM4MTQ3NDYxLTlkMDgyZTMzLWRmZDAtNDY2Yi1hZDc5LTMzNGM5ZWZmNGJhNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDA1MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zNjQzOTQ0ZGJmNjQwYmFiYmFkNzgzODlmODIxOTVlZjBkN2I3ZWI5ZDFjZTA1ZDU4YzA4OWJmYzU5OWY3ZDVlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.1D7XlnA6bLTuiwfwZErDI_8YCYMgdQtCxDj_hFzKW_Y)
![](https://private-user-images.githubusercontent.com/102901204/338147500-5acc400b-9750-467e-b847-49dbd4d40b7d.png?jwt=eyJ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M4MDIxNjQzMDJlYzE0ZDE0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.lwKkAjrRRPC2BolqTuq0Eg1tMolYjtmssubFc_iIIJ8)
![](https://private-user-images.githubusercontent.com/102901204/338147620-a1cac011-46e4-4a02-8196-c26ffe283b7e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMjcwMjAsIm5iZiI6MTcyNDEyNjcyMCwicGF0aCI6Ii8xMDI5MDEyMDQvMzM4MTQ3NjIwLWExY2FjMDExLTQ2ZTQtNGEwMi04MTk2LWMyNmZmZTI4M2I3ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDA1MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hMzc3YTVjNmJhOTZmYTljOGNhOTM1ODNlNTZkOTAxZDE5NzY3ODA4MWI1ODFiNDIyNTc3ZGZjN2NlZDRiNDgzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Ag8GkGAY2dBGlxn1pFWkeEu1TloR-30gBflOboADpU0)
![](https://private-user-images.githubusercontent.com/102901204/338147665-cb76e4b5-3312-41e2-a5b8-7ad91794c1f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoic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QSUyRjIwMjQwODIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgyMFQwNDA1MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02ZmNlMDAyNjBlYzVkNmJmMDFiNDdhNjNhZGViOGZlYTE0OGIzNWJhNDdhOWMyY2ZmNmJmODA0MjMwOTliMWZkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.O3sZJni9SjL6P1VB0i5qT2c8cRROLBITIdqxcV3ZIlw)
Contributions are welcome! Please fork the repository and submit a pull request with your changes.