This project was bootstrapped with Create React App.
You need the following environment variables set to make this app work:
REACT_APP_OS_API_KEY
REACT_APP_MAPBOX_TOKEN
REACT_APP_WATER_NETWORK_API_KEY
- The OS API key is for the OS Names API
- The Mapbox token is for Mapbox GL JS
- The Water Network API key is the base64-encoded basic auth token for the Water Network API
These can be placed in a file named .env.development
in the root directory
In the project directory, run:
then
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Let prettier format the code
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Copyright © Swirrl IT Ltd 2022
Distributed under the MIT Licence.