Price Tracker is a chrome extension which tracks the prices for Amazon products.
📈 Price history
📉 24 hour tracking
🔔 Price drop notifications
-
Clone the repo
$ git clone https://github.com/Aarav87/Price-Tracker-.git
-
Install dependencies
$ npm install
-
Create a firestore database and copy the Firebase configuration
-
Create a .env file and paste your Firebase configuration keys
REACT_APP_FIREBASE_API_KEY=YOUR_FIREBASE_API_KEY REACT_APP_FIREBASE_AUTH_DOMAIN=YOUR_FIREBASE_AUTH_DOMAIN REACT_APP_FIREBASE_DATABASE_URL=YOUR_FIREBASE_DATABASE_URL REACT_APP_FIREBASE_PROJECT_ID=YOUR_FIREBASE_PROJECT_ID REACT_APP_FIREBASE_STORAGE_BUCKET=YOUR_FIREBASE_STORAGE_BUCKET REACT_APP_FIREBASE_MESSAGING_SENDER_ID=YOUR_FIREBASE_MESSAGING_SENDER_ID REACT_APP_FIREBASE_APP_ID=YOUR_FIREBASE_APP_ID
-
Add backend URL in .env file
REACT_APP_BACKEND_URL=http://localhost:3000
-
Generate a new "Private Key" from Service Account in Firebase Project Settings
-
Create a .env file inside the backend folder and paste your "Private Key"
AUTH_PROVIDER=YOUR_AUTH_PROVIDER AUTH_URI=YOUR_AUTH_URI CERT_URL=YOUR_CERT_URL CLIENT_ID=YOUR_CLIENT_ID CLIENT_EMAIL=YOUR_CLIENT_EMAIL PRIVATE_KEY=YOUR_PRIVATE_KEY PRIVATE_KEY_ID=YOUR_PRIVATE_KEY_ID PROJECT_ID=YOUR_PROJECT_ID TOKEN_URI=YOUR_TOKEN_URI TYPE=service_account
-
Add Google email and password in backend .env file
EMAIL=YOUR_EMAIL PASSWORD=YOUR_PASSWORD
-
Create a build folder
$ npm run build
-
Go to chrome://extensions/ and click "Load Unpacked". Select and upload build folder at Price-Tracker/Build
-
Run backend
$ node server.js