- Table of Contents
- About The Project
- Supported Receipts
- Built With
- Getting Started
- Usage
- Deployment
- Roadmap
- Contributing
- License
- Authors
- Acknowledgements
Where does all my money go?
If you have been asking this question to yourself frequently, you are not alone. Handling finances can be tricky. This project is an attempt to help you plan right, so that you worry less while living from paycheck to paycheck.
-
Amazon
-
Flipkart
-
Myntra
-
Ola
-
Uber
-
Zomato
-
Swiggy
-
Curefit
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- python
>=3.6
- pip
- Chrome
- ChromeDriver
- Clone the repo
git clone https://github.com/Bahi-Khata-App/Bahi-Khata
- Install the dependencies
pip install -r requirements.txt
- Setup Gmail API
- Check
gmail.readonly
scope in your Gmail API OAuth consent page - Add
http://localhost:5000/push
as redirect URI while generating credentials - Download and place your Gmail API credentials in
data/credentials.json
- Check
- Place your SendGrid API credentials in
data/sendgrid.json
- (Optional) Place your analytics tracking script in
base.html
- Set flask environment variable
export FLASK_APP="gmail_flask.py"
- Set
LOCAL_DEV = True
ingmail_flask.py
flask run
- Complete the one time app verification
- If any relevant data is found, you'll receive an email report similar as below
- Set up Heroku CLI.
- Add redirect URI
<HEROKU_APP_LINK>/push
in Gmail API console. - Add the chromedriver and google-chrome buildpacks in app settings on your Heroku dashboard.
- Configure environment variables for your app in the dashboard.
KEY | VALUE |
---|---|
CHROMEDRIVER_PATH |
/app/.chromedriver/bin/chromedriver |
GOOGLE_CHROME_BIN |
/app/.apt/usr/bin/google-chrome |
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPLv3 License. See LICENSE
for more information.
- Hat tip to anyone whose code was used