Forked from https://github.com/Aiky30/react-webpack-boilerplate
npm install (--legacy-peer-deps helps here)
npm start
Navigate in the browser to: http://0.0.0.0:3001/project/{project_slug}/add-entry
npm run build
add .env
file with
REACT_APP_MAPBOX_API_TOKEN=xxxxxxxxxxxxxxx
PRODUCTION_SERVER_URL=https://five.epicollect.net
DEVELOPMENT_SERVER_URL=http://localhost/whatever
if any cors error 'local' see -> https://stackoverflow.com/questions/66534759/cors-error-on-request-to-localhost-dev-server-from-remote-site
moreover, add a CORS plugin to avoid any errors https://webextension.org/listing/access-control.html?version=0.3.8&type=install