The project is a transaction tracking application. The application when run on a phone will analyze the users text messages and categorize the transactional messages.
The plan of the project is to make the application intelligent enough to predict the budget and the expected expenditure and apply more statistical models to achieve greater intelligence and analytics.
for simple setup run $ npm run preparer
The web application is divided into three section.
- NodeJS(backend rest service). the root directory has all the node code.
- Angular Application(frontend application). all the source for this application is in the angular Files folder.
- Mobile Application. the source for mobile application is in mobileApp folder.
The following tools and frameworks should be installed to run the application.
- Node.js.
- Mongo DB.
- Angular.
- Cordova.
- Android Studio.
- setup
.env
file. - content of env file must have.
# a Salt for bcrypt
salt = 'financeAPP'
# port to run the appliction on.
PORT = 4000
port = 4000
# mongo instance link.
mongodb = 'mongodb://localhost/financeAPP'
To Build Angular application. Readme.md
- Run
ng serve
for a dev server. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files. - To Change the port run
ng serve -port [Port number]
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
To Make Mobile Application. Readme.md
To prepare Cordova project run cordova prepare
.
- you will have to prepare the Cordova project first.
- To build the application run the command
npm run android
. - if the previous command didn't work then:
- switch to ../angularFiles.
- run
npm run build
. - switch back to ./mobileApp.
- run
cordova build android