McPo / dev-challenge-django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finimize dev challenge

Python & Django setup

  • Install python3 via brew
  • Clone the repo
  • cd into repo
  • Install virtualenv using pip3 (think yarn)
sudo pip3 install virtualenv
  • Create a virtualenv for the project
virtualenv -p python3 venv

If you're having trouble completing this step, try upgrading virtualenv first pip3 install --upgrade virtualenv

  • Activate the virtualenv
source venv/bin/activate
  • Install dependencies in the new virtualenv
pip3 install -r requirements.txt
  • Run the server
pip3 manage.py runserver

The challenge

Create a web-app that shows how much you can expect to make from your savings over time.

The app must satisfy the following Acceptance Criteria (ACs):

  • It should allow the user to vary the initial savings amount, monthly deposit and interest rate through the UI
  • It should display how much the user's initial savings amount will be worth over the next 50 years, to a monthly precision. This should assume that the monthly amount is paid in each month, and the value rises with the interest rate supplied.
  • It should allow the user to select how often interest is paid - either 'Monthly', 'Quarterly' or 'Annually'
  • It should allow the user to optionally select another currency to display the results in. If this is selected, it should convert the results using the latest exchange rate from GBP via a 3rd party API (e.g. Fixer)
  • All calculations must take place server-side, and all monthly projection data should be returned via an endpoint
  • The calculations must be triggered onChange of any input, to give live feedback on the input data. The performance (try the slider) should be reasonable.
  • You should manage app state using Redux (even though it is arguably overkill in this particular case)

Our Guidance

The challenge should not take any more than 2-4 hours. You do not need to complete the challenge in one go.

We are keen to see how much you think is enough, and how much would go into a Minimum Viable Product. As a guide, elegant and simple wins over feature rich every time.

Do you test drive your code? This is something we value - any indicator of BDD/TDD would make us smile.

Although the API might be returning relatively straightforward content, please try and write the API code as if you were building something more complex. We would like to gain an idea of how you would go about structuring API code.

Feel free to make any changes to the UI you see fit.

When you are finished, you should send us a link to the codebase, preferably via git (e.g. github) showing multiple commits, so we can see its evolution.

About


Languages

Language:JavaScript 54.6%Language:Python 40.6%Language:HTML 4.6%Language:CSS 0.3%