Skip to content

Keith3895/financeTracker

Repository files navigation

Finance Tracker WebApplication

Build

Node npm MongoDb angular-cli Cordova CodeFactor

Project Brief:

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.

  1. NodeJS(backend rest service). the root directory has all the node code.
  2. Angular Application(frontend application). all the source for this application is in the angular Files folder.
  3. Mobile Application. the source for mobile application is in mobileApp folder.

Prerequsites to run the application.

The following tools and frameworks should be installed to run the application.

  • Node.js.
  • Mongo DB.
  • Angular.
  • Cordova.
  • Android Studio.

Steps To Run Node Application.

  • 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

Development server

  • Run ng serve for a dev server. Navigate to http://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]

Build

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

Prepare Cordova project

To prepare Cordova project run cordova prepare.

Build Application.(android)

  • 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:

contact information:

To Contribute raise issues and make necessary pull requests.