A Chrome Extension that shows a notification when visiting sites that qualify for Discover® Deals or Cashback Rewards.
The intended end-users are customers of Discover® Card.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. The extension comes with the latest Discover® Deals and Cashback Rewards data, so you don't have to download those manually.
NOTE: Only follow these steps if you are a developer. If you are NOT a developer, you should install the extension by clicking on the picture below.
You'll need:
git
to clone the repo and make contributionsnpm
to install developer dependencies and build the extensionChrome Web Browser
to test the extension
git clone https://github.com/nareddyt/discover-rewards-notifier.git
cd discover-rewards-notifier/
Run the command below to install the packages needed to build the extension.
Note: We use npm to manage developer dependencies. None of these dependencies are required when running the extension as a regular user.
npm install
Handlebars is a templating engine the extension uses for the UI. Run the command below to compile the required templates.
npm run compileTemplates
The extension is now fully-built and ready to use. It needs to be loaded into the Chrome Web Browser so you can use it.
Follow the short list of steps from the Chrome Developer Guide under the Load the extension section.
The extension should work now! Try visiting sites like www.jcrew.com and www.ae.com.
Note: You'll see a special developer icon when you load the extension. This helps differentiate between the production build and the developers' custom builds.
Now that you have the extension setup, follow any one of these guides to learn how specific components work.
Tips:
- Take a look at the issues page. Feel free to comment on anything that you have questions about or would like to work on!
- If you plan on contributing, don't develop on the repo you just cloned. Instead, you should make a fork, clone that fork to your computer, and develop with that. Here is an excellent tutorial on how to use forks
- After making changes, you must reload the extension in Chrome. See the following snippet from the Chrome Developer Guide:
The files are only parsed when the extension is loaded. If you want to see your changes in action, the extension has to be reloaded. Visit the extensions page (go to chrome://extensions, or More Tools > Extensions under the Chrome menu), and click Reload under your extension.
See data/README.md
See src/README.md
See tools/README.md
See docs/README.md
Please read CONTRIBUTING.md for details on submitting pull requests.
We use SemVer for versioning. For the versions available, see the releases for this repository.
Note: Anytime a release is created, CircleCI automatically deploys the corresponding code to the Chrome Web Store.
- Tejasvi Nareddy - Creator and Maintainer - nareddyt
See also the list of contributors who participated in this project.
This project is licensed under the GPLv3 License - see the LICENSE file for details
See the ACKNOWLEDGMENTS file for details