This application allows users to:
- View the temperature of a country in degrees Celsius, Fahrenheit and Kelvin.
- View the temperature of a list of countries.
- Save a new country through an ip.
- Remove a country from the list of countries.
[
{
"id": "string",
"name": "string",
"temperature": "number", // celsius
"ip": "string"
}
]
{
"ip": "string"
}
{
"id": "string"
}
{
"id": "string",
"name": "string",
"temperature": "number", // celsius
"ip": "string"
}
- In order to have a greater performance, the application will refresh the temperature of the countries periodically instead of refreshing it every time the user enters the application.
- The countries will be sent to the client in a single request and then will be filtered in the client.
- The code will be written in english.
- The code will be using a linter and a formatter.
- The backend has a domain architecture.
- The frontend will have a component architecture.
- We will modularize the code as much as possible.
- We will use a git flow.
- The frontend will be independent of the backend.
- The backend will be independent of the frontend.
- More test cases.
- Add typescript.
- Add error handling.