Skip to content

aneeshgarg/capitalonechallenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Software Pre-requisite:
- Maven 3 or later
- Java 8
- java in PATH environment variable (i.e. ability to run jar from command line)

How to Build:

- Go to project's root directory and run "mvn clean package"

How to Run:
- Go to project's root directory and run "java -jar target/capitalone-coding-challenge.jar <options>"

Options:
--username <username>   : provide a registered user's email. Password option is also required otherwise default user will be used. Default User: [email protected]
--password <password>   : provide a registered user's email. Username option is also required otherwise default user will be used. Default User: [email protected]
--crystal-ball          : include projected transactions for current month Default: false
--ignore-donuts         : ignore transactions for donuts Default: false
--ignore-cc-payments    : ignore transactions involved paying credit card bills. Ignores transactions from both spending and income. Default: false

examples of code execution:
java -jar target/capitalone-coding-challenge.jar --ignore-donuts --crystal-ball --ignore-cc-payments
java -jar target/capitalone-coding-challenge.jar --username abc --password abc
java -jar target/capitalone-coding-challenge.jar --username <putusername> --password <putpassword> --ignore-donuts --crystal-ball --ignore-cc-payments
java -jar target/capitalone-coding-challenge.jar --ignore-donuts --ignore-cc-payments
java -jar target/capitalone-coding-challenge.jar --crystal-ball --ignore-cc-payments
java -jar target/capitalone-coding-challenge.jar --ignore-donuts

DISCLAIMER:
I was able to test it with only with one user because I didn't know other authorized user. But it should work with other users as well.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages