Skip to content

codebackyard/currency-rate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The assignment consists of two tasks, both are described below. 1. Create a NodeJs which allows to look up a country by name and returns the full name, population and a list of its official currencies including current exchange rate to SEK. Requests should require a valid JWT obtained from a separate /login endpoint and should be rate limited to 30 requests per token per minute.

It's recommended to use the following open APIs for this exercise: - https://restcountries.eu (country lookup and general information) - https://fixer.io (exchange rates, requires registration to obtain a free api key but you can feel free to use Atul’s: asd)

  1. Create a simple web interface for your NodeJs server using React.js which allows users to: a) search and add countries to a list displaying the full country name, population and currency (be mindful of no of requests you make to server) b) enter an amount in SEK and get the amount converted into local currency next to each country in the list Feel free to use any npm packages you like as long as they're OSS, but you need to be able to motivate your choices and we value concise, well structured code with a small footprint.

PS: secret tip, use https://prettier.io for code formatting

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published