Example of data organisation of the Pole Emploi ROM. Use the Pole Emploie's API to retrieve data and then display it in different ways
This supposes you have node.js and yarn or npm installed;
- Clone or download repo
- from a commend line run
yarn installornpm install - Register at
https://www.emploi-store-dev.fr/portail-developpeur-cms/home.htmlto get api access - Create a file called
config.jsat the root with the following:
module.exports = {
id: '[yourappid]',
secret: '[yourappsecret]',
};
- from a command line run
node access.jsto get a temporary token. The generated token will be outputed in the console. - put the token in
getData.js - Uncomment one of the examples functions in getData.js. There are different methods to get different ressources, poke around.
- run
node getData.jsto generate a json file containing your data. - run
webpack-dev-serverto start the frontend dev server - open
localhost:8080to see the visiualisation - Change
app/app.jsto load different examples