Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.27 KB

README.md

File metadata and controls

54 lines (37 loc) · 1.27 KB

Teonet fortune single-page application-2 (SPA)

This is simple Teonet one-page application which get fortune message from Teonet Fortune microservice using Google Cloud Function.

GoDoc Go Report Card

Create default frontend

sudo npm i -g @vue/cli
vue create frontend
cd frontend
rm -rf .git

Build frontend

cd frontend
npm run build

Add bootstrap package

npm i bootstrap

Add teoweb package

# npm config set registry https://npm.pkg.github.com
# npm i @teonet-go/[email protected]
npm i teoweb

How to use

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

Licence

BSD