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.
These are optional, but are a chance to show off useful skills you might have. If it's outside your experience, no stress.
- Provide a deployment mechanism/package for your app so we don't have to build it to run it. Docker, vagrant, or something else entirely?
- Style the app to get close to, or match the image
optional_mockup.png
.
Bitbucket allows you to create a private fork for free. You’ll have to give our account - alchemytec
- access to your fork so we can see it. No-one other than you and us will be able to see the fork. You can do the same with Github, but you’ll have to give them some money.
Pull Requests back to public repos are public; not cool if you’re currently employed elsewhere. If you don’t mind our conversation being out in the open, feel free to open a PR.
That’s entirely up to you, as long as they’re OSS. We’ll ask you to explain the choices you’ve made.
Anyone you like, as long as it’s available OSS. You’ll have to justify your decision. We use Tomcat internally.
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!