savaroma / string-calculator

string-calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Extended String Calculator

Java version of Extended String Calculator example built with the Spark web microframework, Freemarker, Log4J logging, Spring and HSQLDB (as an in-memory database).

##Prerequisites

  • Java 8

  • Maven

##How to run it

  1. Clone the repository and go to the root directory.

  2. Execute mvn compile exec:java

  3. Open in your browser http://localhost:4567/

  4. Log in as user001 with password user001, or user002/user002, or user003/user003 until user010/user010, or sign up yourself. If your e-mail address has an associated Gravatar image, this will be used as your profile image.

  5. Enter your task after login and see a result in a timeline history.

  6. Users can follow and unfollow one after another. All results are stored to DataBase.

  7. All logs are saved to a file on disk. PATH: C:\TMP\log_file.txt

About

string-calculator


Languages

Language:Java 81.6%Language:FreeMarker 10.8%Language:CSS 7.7%