Front-End
An example of demonstration work with a micro-service architecture
Getting start (only front-end)
- Create
.env
file with ENV variables - Install dependencies
npm i
- Run application
npm start
Kubernetes
Requirements
# Add repo to Helm
helm repo add batazor https://batazor.github.io/charts/
# Update repo charts
helm repo update
# Install project
helm install batazor/react-app
Enviroment variables
NAME | VALUE |
---|---|
REACT_APP_API_URL | http://localhost:4070 |
REACT_APP_GOOGLE_RECAPTCHA_SITEKEY | secretKey |
Auth | - |
REACT_REFRESH_TIME | 180 (seconds) |
For CI | - |
GITHUB_USER | - |
GITHUB_PASSWORD | - |