Dragging the map and on initial mounting of the component now executes an fetch call to Api.laji.fi.
For now it fetches everything from the api and returns it in JSON-form and console logs it only.
Fetch your access token from https://api.laji.fi/explorer and create a .env file on the root folder of the project.
Dragging the map and on initial mounting of the component now executes an fetch call to Api.laji.fi. For now it fetches everything from the api and returns it in JSON-form and console logs it only.
Fetch your access token from https://api.laji.fi/explorer and create a .env file on the root folder of the project.
.env file syntax:
VITE_ACCESS_TOKEN=YOUR_ACCESS_TOKEN_HERE