typescript
version 3.7 or later for optional chaining
npm install
npm start
npm run build
This guide was mostly followed: https://github.com/kunokdev/cra-runtime-environment-variables
When you first run npm start
, it will run env.sh
which will create an env-config.js
(by reading env vars). This file is retrievable by the FE.