This project is a map of the points of interest in France. It is based on the DATAtourisme API.
- Clone the repository
- Copy the
.env.examplefile to.envand fill in the required values - If using Docker, make sure that
PG_HOSTin the.envfile is set todb. Or use the.env.dockerfile instead of.envwhen running the application with Docker. - Download DATAtourisme feed data and extract it to the
datafolder. The structure of thedatafolder should look like this:data ├── index.json ├── context.jsonld ├── objects │ ├── 0 │ │ ├── 00 │ │ ├── 0a │ │ ├── ... │ ├── 1 │ ├── ...
- Run
docker compose up - Import data by running
docker compose exec web npm run import - Open your browser and go to
http://localhost:3000
- Run
npm ci - Run
npm start - Import data by running
npm run import - Open your browser and go to
http://localhost:3000
The server-side marker cluster is based on the implementation by alfiankan in his medium post.