项目作者: micro-company

项目描述 :
An example of demonstration work with a microservice architecture
高级语言: JavaScript
项目地址: git://github.com/micro-company/react-app.git
创建时间: 2017-11-04T16:21:03Z
项目社区:https://github.com/micro-company/react-app

开源协议:MIT License

下载


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
  1. # Add repo to Helm
  2. helm repo add batazor https://batazor.github.io/charts/
  3. # Update repo charts
  4. helm repo update
  5. # Install project
  6. 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