1.0.9 • Published 11 months ago

iim-alucas-rendu2 v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Rendu Arthur LUCAS NPMJS

Installation

npm install iim-alucas-rendu2

How to use ?

this example is based on a React app

import myModule from 'iim-alucas-rendu2/src/index'

function ApiRequest(){

    const [festivals, setFestivals] = useState([]);

    myModule.getAllfestivals().then(data => {
        setFestivals(data);
    }).catch(error => {
        console.error('error')
    });

    console.log(festivals);
}

Here is a list of functions included by the module :

  • getAllRegions
  • getAllfestivals
  • filterFestivalsByQuery (take a string argument, to filter by department)
  • getFestivalSOrderByFieldASC
  • getFestivalSOrderByFieldDESC
1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago