Skip to content

TarikAnafarta/CTIS256-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sustainability e-Commerce Platform

This is a web-based e-commerce system developed as part of the CTIS256 - Introduction to Backend Development course at Bilkent University. The project focuses on reducing food waste by enabling markets to sell products nearing their expiration dates at discounted prices.

🌍 Project Idea

Every year, tons of products are wasted due to expiration. This system provides a win-win solution for both markets and consumers by:

  • Helping markets list soon-to-expire products with discounts
  • Allowing consumers to purchase these products at lower prices
  • Promoting sustainability by reducing waste

πŸ‘₯ User Types

  • Market Users
    • Sign up and manage market info
    • Add/edit/delete discounted products
    • Expired products automatically flagged
  • Consumer Users
    • Sign up and manage personal info
    • Search for products (keyword-based, filtered by location, non-expired)
    • Add/update/delete items in cart (AJAX enabled)
    • Purchase functionality that clears cart and removes products

πŸ§‘β€πŸ’» Technologies Used

  • PHP (Backend)
  • MySQL (Database)
  • HTML/CSS/Bootstrap (Frontend)
  • JavaScript + jQuery (Client-Side & AJAX)
  • Email Verification (6-digit confirmation code)
  • Session Management with PHP
  • Secure coding practices (Input validation, CSRF/XSS/SQL Injection protection)

πŸ”’ Security Features

  • Hashed passwords
  • Email verification
  • Form validation & sticky forms
  • Common security vulnerabilities mitigated

About

Backend project repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5