Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.59 KB

frontend.md

File metadata and controls

29 lines (20 loc) · 1.59 KB

Forking and configuring this product

Frontend

To configure the front end, environment variables have to be injected at build time.

Further reference: Create-react-app documentation

Minimal set of environment variables

Name Description
REACT_APP_BACKEND_URL URL of the API server. Example: http://localhost:4000/v1
REACT_APP_TITLE Title of the app. Example: Postman.gov.sg
REACT_APP_DESCRIPTION Meta description. Example: Postman.gov.sg enables public officers to send templated messages to many recipients

Images and brands

The images under frontend/src/assets/img/brand can be replaced.

Name Description
app-logo.svg The dark version of the app logo
app-logo-reverse.svg The light version of the app logo
company-logo.svg The logo of the company