Skip to content

worldiety/nago

Repository files navigation

nago

linter

This project just uses go vet. Launch it from the module root as follows.

go vet ./...

code generation

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 ./...

frontend development

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 build

For development and hot reloading use the npm run dev

cd web/vuejs
npm install
npm run dev

Note, that you need a .env.local with the following default settings

VITE_HOST_BACKEND=
VITE_WS_BACKEND_PORT=3000

Then launch the backend:

go run ./example/cmd/tutorial-01-helloworld

Prod und Dev Ports

The 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

About

nago is a developer centric low code platform in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 12