GithubHelp home page GithubHelp logo

mspr2-datalake-api's Introduction

DATALAKE API

Installations

  1. npm i
  2. npm start
  3. Go to : http://localhost:3000/data

Routes

The POST, PUT and DELETE routes require an API key. To do that, add the "api_key" header to your HTTP requests with the value "myapikey". #stubcode

/candidate

JSON Body: { "firstname": "John", "lastname": "Doe" }

JSON Body: { "firstname": "John", "lastname": "Doe" }

/commune

JSON Body: { "code": "33000", "label": "Bordeaux", "location": "44.8378° N, -0.5792° W" }

JSON Body: { "code": "33000", "label": "Bordeaux", "location": "44.8378° N, -0.5792° W" }

/data

/insecurity-rate

JSON Body: { "communeId": 1, "insecurityRate": 10, "year": 2017 }

JSON Body: { "communeId": 1, "insecurityRate": 10, "year": 2017 }

/jobless-rate

JSON Body: { "communeId": 1, "joblessRate": 10.5, "year": 2017 }

JSON Body: { "communeId": 1, "joblessRate": 10.5, "year": 2017 }

/median-living-standard

JSON Body: { "communeId": 1, "medianLivingStandard": 19200, "year": 2017 }

JSON Body: { "communeId": 1, "medianLivingStandard": 19200, "year": 2017 }

/povrety-rate

JSON Body: { "communeId": 1, "povretyRate": 16, "year": 2017 }

JSON Body: { "communeId": 1, "povretyRate": 16, "year": 2017 }

/voice-count

JSON Body: { "candidateId": 1, "communeId": 1, "voiceCount": 0, "year": 2017 }

JSON Body: { "candidateId": 1, "communeId": 1, "voiceCount": 0, "year": 2017 }

mspr2-datalake-api's People

Contributors

thomasboidun avatar

Stargazers

 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.