Dann23 / ds2020_mauricio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build and Deploy to GKE

A simple Docker( React / Express ) App to practice CI / CD

Frontend workflow

  • cd client
  • npm install
  • npm start (dev server)
  • npm test (frontend tests)
  • npm build (bundle source and send to ../server/client)

Requirements:

client/.env file (not version controlled): <--- Will be changing as pipeline matures
REACT_APP_DEV_SERVER=localhost:3001
REACT_APP_PROD_SERVER=localhost:3001
REACT_APP_TEST_SERVER=localhost:3001

Backend workflow

  • cd server
  • npm install
  • npm start (Dev server, connecting to localhost mongodb)
  • npm test (backend tests)
  • npm deploy (Production server, connecting to deployment mongodb)

About

License:GNU General Public License v3.0


Languages

Language:TypeScript 54.6%Language:JavaScript 26.8%Language:HTML 10.1%Language:CSS 6.2%Language:Dockerfile 2.2%