This is a simple gRPC service demo written in Go. It includes user-related functionality with mock database entries.
Disclaimer:
This project is part of an assignment for Totality Corp and is intended for educational purposes only. It is not intended for use in any production, commercial, or real-world application. The code may not adhere to best practices, security standards, or other considerations required for production-ready software.
Use this project at your own discretion, and be aware that it may contain intentional simplifications or educational constructs that may not be suitable for real-world scenarios.
-
Clone the repository:
git clone https://github.com/VILJkid/go-simple-grpc-demo.git cd go-simple-grpc-demo
-
Build and run the application locally:
go mod tidy go build -o app ./app
The gRPC service will be accessible on port
8081
. -
Alternatively, build and run the application using Docker:
docker build -t go-simple-grpc-demo . docker run -p 8081:8081 go-simple-grpc-demo
The gRPC service in the Docker container will also be accessible on port
8081
.
cd service
go test -v
This project is licensed under the MIT License.