Giter VIP home page Giter VIP logo

eoi-e2e-backend's Introduction

Temperature app

Descripción

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.

API REST

GET /country

Request

[
  {
    "id": "string",
    "name": "string",
    "temperature": "number", // celsius
    "ip": "string"
  }
]

POST /country

Request

{
  "ip": "string"
}

DELETE /country/:id

Request

{
  "id": "string"
}

DB

Country

{
  "id": "string",
  "name": "string",
  "temperature": "number", // celsius
  "ip": "string"
}

Quality Standards:

Efiiciency

  • 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.

Maintainability

  • 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.

Portability

  • The frontend will be independent of the backend.
  • The backend will be independent of the frontend.

Thoughts of improvement

  • More test cases.
  • Add typescript.
  • Add error handling.

eoi-e2e-backend's People

Contributors

dependabot[bot] avatar danielramosacosta avatar nuberush avatar alexxispn avatar

Forkers

juanandma

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.