For the Points developer take-home assignment, the following task is required. You are to build a tax calculator against this API. The purpose is to build an income tax calculator to help illustrate how marginal taxes work. This server is pretty simple, only returning the tax rates for a given year. You are to calculate the amount of taxes owed by inputting a yearly salary, then displaying the different rates, the total amount owed and the effective tax rates.
- Download and run this server (see Getting Started)
- Build an application / tool in React or Python with the following criteria:
- Fetches the tax rates from this API server
- Takes a yearly salary as input
- Calculates and displays the total taxes owed for the salary
- Displays the amount of taxes owed per band
- Displays the effective rate
There are different levels to this assignment, level 1 being the easiest, level 2 having some gotchas, etc. If you complete a level with ease, feel free to jump to the next one. Please timebox your solution to one day total.
- Fetch the tax rates from this server at: http://localhost:5000/tax-calculator/brackets
- Fetch the tax rates by year: http://localhost:5000/tax-calculator/brackets/<2019|2020|...>
Warning: this endpoint has gotchas
- TBD
docker pull points/interview-test-server
docker run --init -p 5000:5000 -it points/interview-test-server
Navigate to http://localhost:5000. You should see a brief set of instructions. From there you'll be able to query the above endpoints and do your assignments. If you have any problems, email the Team Lead or Engineering Hiring Manager for assistance.
Clone or download this repository and then submit your solution to your contact at Points.
Please do not fork or submit pull requests to this repository.
Please timebox your solution to one day total.
- Implement your solution using JavaScript or Python.
- Include comments where you feel that they would be helpful.
- Include a README with instructions on how setup, run, and test the application.
- Include unit tests.
If using JavaScript
- Create a simple, yet visually appealing and responsive design.
- Target the latest stable version of Google Chrome.
- Format the code according to the latest eslint specs
If using Python
- Implement a simple yet intuitive command line interface.
- Format the code following PEP8 guidelines