Ad-lib features a React frontend with a Java backend. In order to connect the frontend and backend and correctly route which microservice handles request, a dispatch.yaml file has been defined. This project was bootstrapped with Create React App.
cd frontend
yarn local
cd backend
mvn package appengine:run
or
build
gcloud init
gcloud config set project [Project_ID]
gcloud app deploy dispatch.yaml
gcloud init
gcloud config set project [Project_ID]
cd frontend
yarn build
gcloud app deploy
cd backend
mvn package appengine:deploy