How harshraj001/price-prawl works
Project type and purpose
• PricePrawl is a full-stack, PHP-based web application for tracking product prices across multiple e-commerce sites, storing historical price data, and sending email alerts when prices drop.
File structure
• Top-level PHP pages (e.g., index.php, product.php, search.php, wishlist.php) act as controllers/views.
• The includes/ folder holds shared code: config.php (app settings), db_connect.php (DB access), auth_check.php (auth middleware), activity_logger.php, header/footer templates.
• js/ and css/ folders contain client-side scripts (navigation.js, wishlist.js, product-data-parser.js) and styles (dark-mode.css, loader.css).
• Vendor/ includes PHPMailer and any other composer-managed libraries.
• SQL schema defines MySQL tables for users, price_history, alerts, wishlist, tokens, etc.
README for additional insights
• Technologies: Frontend (HTML, JS, Tailwind CSS, Alpine.js, Highcharts), Backend (PHP 7.4+), Database (MySQL), Email (PHPMailer), External API (BuyHatke).
• Features: user registration/OTP, product search, wishlist, price-drop alerts, historical charts.
• Integration points: URL processor, product parser, external price API.