Skip to content
This repository has been archived by the owner on Aug 26, 2023. It is now read-only.

A minimal gRPC greeter example using Go, Vue, JWT authentication and gRPC-gateway

License

Notifications You must be signed in to change notification settings

choopm/go-vue-jwt-grpc-greeter

Repository files navigation

greeter

Go backend

Running it for development

You need to generate a certificate first, take a look at docker-entrypoint.sh.

export TLS_CRT=data/tls.crt; export TLS_KEY=data/tls.key; export PORT=4443; export DATABASE=data/gorm.db
go run cmd/greeter/main.go

Vue frontend

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.