8000 GitHub - ormanli/backend-coding-challenge: A fairly simple coding challenge, aimed at backend-focused engineers.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ormanli/backend-coding-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

  • Java 8
  • MySQL
  • Maven 3.1>

How To Build

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.

How To Run

From maven

Go to project folder.

mvn spring-boot:run

From war

java -jar alchemytec-1.0.war

Notes

  • 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.

Goal

Produce a simple web-app backend to complement the supplied front-end code.

Mandatory Work

Fork this repository. Starting with the provided HTML, CSS, and JS, create a Java-based REST API that:

  1. Saves expenses as entered to a database.
  2. Retrieves them for display on the page.
  3. Add a new column to the table displaying the VAT amount for each expense.
  4. 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.

Extra Credit

Calculate the VAT client-side as the user enters a new expense, before they save the expense to the database.

Questions

What frameworks can I use?

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.

What application servers can I use?

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.

What database should I use?

MySQL or PostgreSQL. We use MySQL in-house.

What will you be grading me on?

Elegance, robustness, understanding of the technologies you use, tests, security.

Will I have a chance to explain my choices?

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.

Why doesn’t the test include X?

Good question. Feel free to tell us how to make the test better. Or, you know, fork it and improve it!

About

A fairly simple coding challenge, aimed at backend-focused engineers.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 47.7%
  • CSS 44.7%
  • Java 4.1%
  • HTML 3.5%
0