Hosting / deployment
Hosting#
The frontend React application is hosted with Netlify. This is a free Git-based service which manages builds, deployments and hosting of the application.
Deployment#
By linking a Git repository, any commits to the main branch will trigger a build and deploy in Netlify. Build status can be tracked in Netlify, which usually take less than a minute to compile and go live. After both the Netlify account and Git repository are transferred to you, they may need re-linking at:

Environment variables#
There are some critical environment variables which must remain in Netlify. Re-linking the Git repository may require these to be input again.
| Key | Value |
|---|---|
HTTPS | true |
REACT_APP_ENVIRONMENT | production |
REACT_APP_WORDPRESS_API | https://klemich.snarkiedesign.com.au |
These are managed at:

Pre-rendering#
Netlify also provide a pre-rendering service, which selectively serves an accessible version of the website to Search Engine and Social metadata crawlers. For example, without pre-rendering the website, Facebook would see a blank page as it scrapes metadata before any JavaScript is executed. The feature is enabled at:
