Question
The company has a need for a standardised internal source of country information. Using Rails or a Python framework of your choice (Django, Flask, etc.),
The company has a need for a standardised internal source of country information. Using Rails or a Python framework of your choice (Django, Flask, etc.), build a JSON REST API to provide country information. Requirements: List all countries providing at least country name, alpha 2 code, alpha 3 code and the currencies available. Please allow for the ability to filter on currency Return a single country based upon the alpha 2 or alpha 3 code An interface to allow "soft-deletion" of countries. Be sure to add unit tests. For the sake of simplicity, ignore any auth considerations at this point. Do not feel the need to spend more than 4 hours on this - we prefer tested features and incomplete over completed but buggy. Also, a basic solution is fine - no need to over engineer. For the country data, please feel free to use any small sample of 3-4 countries of your choice. If certain aspects of the task seem ambiguous, please interpret them in a way that makes sense to you - there is no right or wrong answer, as long as you can justify your solution.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started