- Java 8
- MySQL
- Maven 3.1>
This pom configuration outputs a war file that can both executable and deployable.
mvn clean package
This command may need administrator rights to execute because of frontend-maven-plugin
. I used this plugin for gulp support. You need gulp if there is any change in frontend stuff. If there is any error please disable related goals.
Go to project folder.
mvn spring-boot:run
java -jar alchemytec-1.0.war
- Modify application.properties for db properties.
- This application creates database tables automatic at boot. You don't need any sql script. Please configure database properties.
Produce a simple web-app backend to complement the supplied front-end code.
Fork this repository. Starting with the provided HTML, CSS, and JS, create a Java-based REST API that:
- Saves expenses as entered to a database.
- Retrieves them for display on the page.
- Add a new column to the table displaying the VAT amount for each expense.
- Alter the README to contain instructions on how to build and run your app.
VAT is the UK’s sales tax. It is 20% of the value of the expense, and is included in the amount entered by the user.
Give our account alchemytec
access to your fork, and send us an email when you’re done. Feel free to ask questions if anything is unclear, confusing, or just plain missing.
Calculate the VAT client-side as the user enters a new expense, before they save the expense to the database.
That’s entirely up to you, as long as they’re OSS. We’ll ask you to explain the choices you’ve made. Please pick something you're familiar with, as you'll need to be able to discuss it.
Anyone you like, as long as it’s available OSS. You’ll have to justify your decision. We use dropwizard and Tomcat internally. Please pick something you're familiar with, as you'll need to be able to discuss it.
MySQL or PostgreSQL. We use MySQL in-house.
Elegance, robustness, understanding of the technologies you use, tests, security.
Feel free to comment your code, or put explanations in a pull request within the repo. If we proceed to a phone interview, we’ll be asking questions about why you made the choices you made.
Good question. Feel free to tell us how to make the test better. Or, you know, fork it and improve it!