Fork this project to quickly create a react maplibre application.
In the root directory of the showcase project, run the following commands
cp .env.example .env
The REACT_APP_MAPTILER_APIKEY
can be generated here.
In the project root directory, run the following commands:
npm i
npm start
This should start the application on http://localhost:3000/
And voila, that's all there is to it.