This is a web application, which is able to track the price of items from the online store.
The application can notify users when the prices of items drop.
The application checks the prices every 10 minutes.
All data is stored in database, which is MongoDB in this case.
All passwords of users are encrypted by pbkdf2.
Utilizing regular expression to find the specific store for users
The price of item could be found by using beautifulsoup to parse html
pipenv install
- Run MongoDB server locally
mongod
- Create the MongoDB instance and connect to the server
mongo
Notice: This Web application uses Mailgun API to send the email to users in order to notify them when the price drop. The details of Mailgun account and API key should be put into src/models/alerts.constants.py.
This web application only allows administrators(src/config.py) to add, remove and edit online stores.
How to use this Web?
- Users have to register on the web.
- Users have to add the URL of the item which you want to track and the name of the items.
- Users have to add the limit price they intend to buy.
- When the price drops, users will be notified by email.
- Users are able to edit, activate, deactivate and delete alerts.
3. This is user-alerts page, shows alerts all alerts they have created. Then, right click alert can edit, activate, deactivate and delete the alert.
5. This page allows admins to create the supporting stores. The admins have to pass the tag name and query of that item.
The normal user is not able to access this page for security reasons.