page_type | languages | products | description | urlFragment | |||||
---|---|---|---|---|---|---|---|---|---|
sample |
|
|
Browser extension for tracking shopping history and goal setting |
DINT: Do I Need This, is a web browser extension aimed to help online shoppers make better purchasing decisions. Whenever a user tries to purchase an item similar to what they purchased earlier, DINT notifies them about the repeat purchase and gives them an opportunity to reflect on whether they really need it. We also allow users to set a saving goal, monitor their progress towards that goal, view their purchase history, and filter notifications for certain products such as necessities.
This is a community project that was started during the 2019 OneWeek Hackathon for the Hack for Sustainability challenge.
Outline the file contents of the repository. It helps users navigate the codebase, build configuration and any related assets.
File/folder | Description |
---|---|
src |
Sample source code. |
.gitignore |
Define what to ignore at commit time. |
CHANGELOG.md |
List of changes to the sample. |
CONTRIBUTING.md |
Guidelines for contributing to the sample. |
README.md |
This README file. |
LICENSE |
The license for the sample. |
NodeJS - Javascript runtime -- Use version 10
This codebase uses the Web Extension starter: https://github.com/ymdevs/Web-Extension-Starter. Please see its README for more set up info.
install dependencies
- npm install
Transpile the code
- npm run dev (only transpiles the code)
- npm run watch (transpiles and watches for code changes)
yarn commands will work too if yarn is installed.
- Go to: chrome://extensions
- Toggle: "developer mode" on.
- Click on: "Load unpacked"
- Select the newly created folder "dist" from the project folder.
- Thats it.
- Go to: about:debugging
- Select: "Enable add-on debugging"
- Click on: "Load Temporary Add-onβ¦"
- Open the newly created folder "dist" from the project folder, and choose the "manifest.json" file.
- Thats it.
React and redux
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.