This is a service that creates Tickets to be shared for others.
I used clean-arch concepts, and TDD.
- Copy
sample.env
to.env
and rename the variables if you need - You can run this repo on vscode
Or, you can run by doing this:
PORT=8080 go run main.go
This application was built to answer as 3 kinds of client.
This is the default, it answer HTML, like a normal webapp.
To set APP mode:
PORT=8080 client=app go run main.go
This is the Rest client, it answer JSON, and TBD XML.
To set REST mode:
PORT=8080 client=app go run main.go
This is the gRPC client, it answer on rpc clients, like Bloomrpc.
To set GRPC mode:
PORT=8080 client=grpc go run main.go
go test -cover ./...
On pushing to main
, it will automatically push to heroku
joaomarcuslf |