Pricechecker is a Chrome extension + (optional) Django project that helps users compare prices across popular online stores: Amazon, eBay, Best Buy, Walmart, and more (using mock data for now). It features:
- Manual/Automatic Price Checks
- Dark Mode and Light Mode
- A Minimal, Aesthetic UI
- A Savings Meter showing potential savings
- Optional Django integration for:
- User Login/Registration/Logout (Django’s auth)
- Dashboard to track total spent, total saved, purchase history, and more
- A Graph (Chart.js) to visualize total savings
-
Installation
- Load the extension in Chrome (
chrome://extensions
-> "Load unpacked" -> select thepricechecker
folder).
- Load the extension in Chrome (
-
Product Detection
- The content script (
content-price.js
) smartly extracts the product name and price from the current webpage.
- The content script (
-
Background Script
- The background script (
background.js
) simulates API calls with mock data for competitor prices.
- The background script (
-
Compare & Display
- Click Compare Prices to see competitor prices with the cheapest option highlighted.
- Use the new Login button to visit the Django login page.
-
Django Integration (Optional)
- A Django project (
django_pricechecker
) allows user registration, login, logout, and a dashboard that tracks your purchase history and savings, complete with a Chart.js graph.
- A Django project (
- Load the Extension
- Open Chrome, go to
chrome://extensions
, enable Developer Mode, and click Load unpacked to select thepricechecker
folder.
- Open Chrome, go to
- Browse a Product Page
- Visit any product page.
- Open the Extension
- Click the Pricechecker icon.
- Click Compare Prices to see results.
- Use Login to open the Django login page.
- Run the local server.
- Navigate to the pricecheck-proxy-server
- install npm if you haven't already
npm install
- run the local server by running the following command:
npm start
- Setup Django
- In the
django_pricechecker
folder, run:python manage.py migrate python manage.py createsuperuser python manage.py runserver
- In the
- Access
- Visit
http://127.0.0.1:8000/
for login, registration, and dashboard.
- Visit
Enjoy building Pricechecker!