Code Monkey home page Code Monkey logo

calculator's Introduction

Online Calculator Test Assignment

This application is a simple online calculator that evaluates arithmetic expressions. It only supports +, -, /, =. Other operations are not implemented. So don't try to calculate sin(x) on it.

Installing and running the application

  1. Download and install Java 8 from Oracle
  2. Run java -version to make sure that Java is intalled correctly.
  3. Should report java version "1.8.xx. If java 1.7 or earlier is reported: 1. Uninstall old java from your computer. 2. Open My Computer - Properties - Additional Properties - System Variables, and specify Java 8 installation folder as JAVA_HOME, e.g. JAVA_HOME = C:\Program Files\Java\jdk1.8.0_91\
  4. Download and install Maven from [https://maven.apache.org/].
  5. Open My Computer - Properties - Additional Properties - System Variables, and specify Maven installation folder as M2_HOME and as MAVEN_HOME, e.g. MAVEN_HOME = C:\Program Files\Maven
  6. Add path to mvn.cmd (e.g. C:\Program Files\Maven\bin) to your path.
  7. Run mvn -version to make sure that Maven is intalled correctly.
  8. Clone this repository to your local folder, by running git clone https://github.com/supersergey/calculator.git
  9. Enter the local folder and type mvn exec:java
  10. Open localhost:4567 in your web-browser.
  11. You can register or login as a the pre-defined test user. login : admin, password: admin

Technologies used

Spring Ioc, SparkJava, Sql2o, Freemaker, Bootstrap, JUnit

Contact

My LinkedIn profile

Enjoy ;-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.