GithubHelp home page GithubHelp logo

meli-challenge's Introduction

meli-challenge

El objetivo de este challenge es resolver un desafío que involucra y aglomera muchas de las tecnologías que solemos usar en el día a día en el equipo de Monitoreo de Seguridad Informática.

⚒ Quickstart

primero se debe de configurar el archivo .env para la coneccion hacia la base de datos Mongodb

esquema

ip pais distancia invocaciones
210.22.11.1 china 18510 1
110.22.11.1 australia 13270 2

📡 API's

  • /api/8.8.8.8

{
    "ip": "8.8.8.8",
    "fecha_actual": "28/09/2021 01:57:44 GMT",
    "pais": "united states",
    "iso_code": "us",
    "distancia_estimada": "9328 km",
    "pertenece_a_aws": false
}

Verifica el pais de donde pertenece la ip, a cuanta distancia esta de buenos aires y si pertenece ah aws

  • /closeDistance/

{
    "ip": "8.8.8.8",
    "pais": "united states",
    "distancia_estimada": "9328 km",
    "invocaciones": 8,
}

Extrae el pais mas sercano ah Buenos Aires

  • /farDistance/

{
    "ip": "210.22.11.1",
    "pais": "china",
    "distancia_estimada": "18510 km",
    "invocaciones": 1,
}

Extrae el pais mas lejano ah Buenos Aires

  • /avgDistance/

{
    "country": "china",
    "avg_position": 1
}

Realiza un avegrage de las invocaciones

meli-challenge's People

Contributors

dapaln avatar drc288 avatar

Watchers

 avatar

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.