GithubHelp home page GithubHelp logo

skylabs-be-ex01's Introduction

skylabs-be-ex01's People

Contributors

fabriziomiano avatar

Watchers

 avatar  avatar  avatar

skylabs-be-ex01's Issues

Deployment con Terraform

Aggiunge la possibilità di effettuare il deployment tramite Terraform con Procfile, usando addon JawsDB (MySQL) su Heroku

Esercizio n.1

Scrivi una query che estragga il ​numero di persone​ con ​ meno di 30 anni​ che
guadagnano​ più di 50.000 dollari l'anno

Esercizio n.2

Scrivi una query che riporti il ​ guadagno di capitale medio​ per ogni categoria
lavorativa

Esercizio n.3a

Lista dei record denormalizzati​ , cioè ogni entità deve contenere anche tutte
le informazioni derivanti dalle tabelle secondarie del DB.
L'API deve essere realizzata in ​ GET e
avere una ​ paginazione parametrica
(cioè tramite l'url è possibile definire offset e count)

Esercizio n.3b

Statistiche ​ aggregate filtrate in base ad alcuni parametri significativi.
L'API, realizzabile in ​ GET ​ o in ​ POST​ , deve soddisfare questa
documentazione fornita dal cliente:

  • INPUT:

     - aggregationType: "age", "education_level_id", "occupation_idb"
     - aggregationValue: int
    
  • OUTPUT :

    {
        "aggregationType": "string",
        "aggregationFilter": int,
        "capital_gain_sum": float,
        "capital_gain_avg": float,
        "capital_loss_sum": float,
        "capital_loss_avg": float,
        "over_50k_count": int,
        "under_50k_count": int
    }
    
  • ESEMPIO:
    Passando i parametri "aggregationType" = "age" e "aggregationValue" = 30 si ottengono
    le statistiche per tutti coloro che hanno 30 anni.

Esercizio n.4

Esponi inoltre, tramite il medesimo servizio web, un endpoint che faccia il download
in formato ​ CSV ​ di tutti i dati ​ denormalizzati
(cioè ogni riga deve contenere sia il record che tutti i dati relazionati dalle altre
tabelle)

Deployment

Deployment delle API su Heroku tramite Docker container

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.