Skip to content

micro-company/react-app

Repository files navigation

Front-End

License

An example of demonstration work with a micro-service architecture

UserPage

Getting start (only front-end)

  1. Create .env file with ENV variables
  2. Install dependencies npm i
  3. Run application npm start

Kubernetes

Requirements
  1. Docker
  2. Minikube
  3. Helm
# 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 -

CI FLOW

ci-flow