The software is a coupon activation tool that automates the process of redeeming coupons on PayBack. With this software, users can easily activate all their available coupons with just a few clicks, eliminating the need for manual input and saving time. The software is designed to be user-friendly and easy to operate, making it accessible to individuals with varying levels of technical expertise. Users can simply input their login credentials and select the coupons they want to activate, and the software will handle the rest.
For usage of the project you need Node & npm installed on your machine. The minimal required version of Node is 18 and for npm is 9.
cd payback-coupons-activator
npm install
Edit the following file .env
with your editor of choice.
Replace the variables with your own data.
userEmailOrId="TYPE_YOUR_ID_OR_EMAIL"
userPassword="TYPE_YOUR_PASSWORD"
By default, the script is executed in the “headless” mode, i.e. in the background.
If you want to see what actually is being done, you have to change the value of mode
in the .env
file from prod
to dev
.
If you want to start the script, you have to execute the following command in the terminal.
npm run activatePaybackCoupons
Pull-Request are welcome.
For major changes, please open an Issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
For debugging purposes you should run following command
npm run activatePaybackCoupons:debug