This application was written as a REST application in Java. HTML uses AJAX to upload the file and retrieve the summary of expenses.
Web page uses JQuery and Bootstrap. Backend is built on Jetty with Jersey. Database is MySQL. FileUpload and CSV parsing use Apache Commons library.
- Java 8
- Maven
MacOS instructions
$ brew update
$ brew install maven
- MySQL After installing MySQL, set the root password as password (it is hardcoded) and create database as wave and launch MySQL
$ brew install mysql
$ mysql_secure_installation
$ mysql.server start
$ mysql -uroot -ppassword
mysql> CREATE DATABASE wave;
Clone the repo and build it using maven. Launch application and access from http://localhost:8008
se-challenge $ man clean install
se-challenge $ java -jar target/wave-0.0.1-SNAPSHOT.jar
If you have any questions, please send email to [email protected]