BuffAlert allows users to set stock alerts and receive free email when the price they are monitoring is reached. This is my final project for the Harvard CS50 course (Verified Certificate nr. 3e6eecf136914e519488d4edaa72f2a8).
![](/uploads/ckfinder/images/certificate-harvard-cs50-edouard-proust.jpg)
Buffalert works using cron for the automation part and iexcloud API for the quote. Each user must subscribe to an iexcloud account and get an personal API key in order not to exceed the limit of requests of the Free plan (all the steps to do so are clearly explained to the user).
How to reproduce Buffalert locally or online?
All the steps to clone Buffalert locally or online are detailed in the README file of the Github repository. This file explains precisely how to configure all necessary services (with emails, MySQL database,...) as well.
Upcoming updates
- Add more assets: At the moment, BuffAlert works with US stocks only. The next release will allow user to set alerts on commodities, currencies (forex) and crypto-currencies.
- Password recovery: Add the possibility for the user to reset his/her password by sending a email containing a verification token.
- Simultaneous alert checks on cronjob: At the moment the checking of alerts is done one alert at a time. If the number of users becomes high, the check launched every hour by the cronjob will be very long. This version is intended to make cronjob perform each alert check simultaneously. This is possible because each user has his own API key, so each request will be separate