🏛 A community service directory for Buckinghamshire.
It's a standard client-rendered React app that consumes data from an API.
node
andnpm
- A running companion API server
- Client-side credentials for Google's geocoding and mapping APIs
npm i
npm run dev
It's suitable for deployment to free static hosts, especially Netlify. It has a netlify.toml
file, so Netlify should automatically detect the deployment command and build directory.
It looks for these environment variables:
REACT_APP_API_HOST
: the location of the backing API, with protocol includedREACT_APP_GOOGLE_CLIENT_KEY
: for using mapping functionality.REACT_APP_GA_PROPERTY_ID
: for Google Analytics