This is simple Teonet one-page application which get fortune message from Teonet Fortune microservice using Google Cloud Function.
sudo npm i -g @vue/cli
vue create frontend
cd frontend
rm -rf .git
cd frontend
npm run build
npm i bootstrap
# npm config set registry https://npm.pkg.github.com
# npm i @teonet-go/[email protected]
npm i teoweb
To run this application local use next commands:
go run -tags=dev .
By default the teofortune-spa-2 site start at localhost:8080. You can publish this site to Google Cloud Run.
There is preinstalled teofortune-spa-2 web-site in Google Cloud: https://fortune-spa-2.teonet.app