This web / iOS application helps solve the problem of expenses sharing with room / apartment mates. It allows users to submit receipts to a local shared expense pool and customize just how much of each receipt they would like reimbursement for. Heze Receipts also has a built-in approval system, group management system, and user account system. To make Heze Reciepts as convenient as possible, the iOS app uses the camera and Google Cloud Vision API to scan a receipt directly into the system.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Install RVM if you haven't already: visit rvm website to find instructions.
- Install proper Ruby version with dependencies: visit instruction website
- Install MySQL server: great details about installation and using MySQL can be found here
-
Create the database using MySQL commandline:
create database hackwpi;
-
On another prompt, use migration to initialize database schema:
rake db:migrate
-
Ta-da! Your tables with all necessary schema is created!
-
Simply run:
rails s
-
Then open a web browser, type in:
http://localhost:3000
-
You will be redirected to a home page with log-in / signup request. Sign up with your name, email, and password.
-
You will then be redirected to your dashboard.
-
Simply run:
rake db:seed
-
To "empty" the database without clearing out user's information, run:
rake db:empty
- After setting up the application on your iOS device, simply scan a receipt.
- The server will then behave as a "proxy": send the picture to the Google Cloud API.
- The server retrieves the response from the Google Cloud API.
- The server parses the response, and send the processed information to the user on the application to verify.
- User verifies the information, and later on all receipts will be displayed on the website's dashboard.
- Ruby on Rails - Web Application framework used
- MySQL - database serverlearning
- Vue.js, Bootstrap - front-end framework / library
- Google Cloud Vision API - for scanning receipts (using computer vision)
- Swift, Objective-C, Cocoa Pods, X-code) - iOS development
This project is licensed under the GNU Public License.
- Google Cloud Platform
- Inspiration
- Hack@WPI 19
- Need & Want
- Fun!