This project just uses go vet. Launch it from the module root as follows.
go vet ./...The typescript and go protocol is autogenerated based upon the nprotoc (nago protocol compiler) json specification. After changing the source code, ensure that it still works properly by executing the nprotoc compiler from the module root:
go generate ./...The frontend is a regular vuejs project. If you change the source, you have to build the dist and commit it properly, otherwise the nago version will be broken.
cd web/vuejs
npm install
npm run buildFor development and hot reloading use the npm run dev
cd web/vuejs
npm install
npm run devNote, that you need a .env.local with the following default settings
VITE_HOST_BACKEND=
VITE_WS_BACKEND_PORT=3000Then launch the backend:
go run ./example/cmd/tutorial-01-helloworldThe default production setting serves the precompiled VueJS build from http://localhost:3000
When using the vite development build with hot reloading, you need to use http://localhost:8090