This is the reimplementation of the project for Dell Hack2Hire hackathon. The original project can be found here.
In the original project, Django was used to build the backend of the project. However, due to the simple nature of this project, I had took the liberty to change to using Flask framework.
This backend consist of 2 parts, namely the API server and the email receiver script. The API server is built using Flask framework and the email receiver script is built using the gmail API.
Note: the keys required for Firebase and Gmail API is removed from this repository.
- Clone the repository
- Create a virtual environment as to not pollute your global environment
python -m venv venv .\venv\Script\activate # for windows
- Install the dependencies
pip install -r requirements.txt
- Run the server
python app.py
- Run the email receiver script
python jobs/email_receiver.py
As per the last update of this project, the API server is hosted on Render.com, while the email receiver script is hosted on my personal EC2 instance.