Go to file
dbroqua 9cf80a4930 Fixed bug about icon position (#2) 2020-03-03 21:38:53 +01:00
public Added button for getting user position 2020-03-03 10:10:00 +01:00
src Fixed bug about icon position (#2) 2020-03-03 21:38:53 +01:00
.eslintignore Initial commit 2020-03-01 20:40:51 +01:00
.eslintrc.js Added external API for getting gas stations 2020-03-02 22:08:06 +01:00
.gitignore Added env file 2020-03-03 21:34:19 +01:00
cron.sh Removed gasStations 2020-03-01 20:59:07 +01:00
package.json Added env file 2020-03-03 21:34:19 +01:00
README.md Added env file 2020-03-03 21:34:19 +01:00
yarn.lock Added external API for getting gas stations 2020-03-02 22:08:06 +01:00

Ce projet a simplement pour but de répertorier l'ensemble des stations essences en France.

Les données sont basées sur les Open Data.

Utilisation

Une fois le projet cloné vous devrez commencer par créer un fichier .env qui contiendra des variables d'environnement :

REACT_APP_MAPBOX_TOKEN=********
REACT_APP_API_URL=********
REACT_APP_MAP_RADIUS=20000

Une fois fait :

yarn install
yarn start