2025-10-27 22:16:11 +03:00
2025-10-27 21:55:36 +03:00
2025-11-04 14:38:54 +03:00
2025-10-27 21:55:20 +03:00
2025-11-04 15:19:08 +03:00
2025-11-04 15:19:08 +03:00
2025-11-04 15:19:08 +03:00
2025-11-04 15:19:08 +03:00

Order service

Golang microservice to manage orders.

Prerequisites

Ensure you have the following installed on your system:

  • Golang (>=1.24)
  • protoc (Protocol Buffers compiler)
  • make (latest version recommended)

Installation

1. Clone the project

2. Go to the project directory

3. Install dependencies

make i

4. Customize environment

cp .env.example .env

And setup env vars according to your needs.

Configuration

GRPC_PORT=50051              # gRPC server port
GRPC_ENABLE_REFLECTION=false # whether to enable gRPC reflection or not
HTTP_HANDLER_ENABLE=false    # whether to enable HTTP gateway or not
HTTP_PORT=8080               # HTTP gateway port
LOG_LEVEL=info               # logging severity (debug, info, warn, error)

Running

Build + run

make run

Build

make build

gRPC code generation

make generate
S
Description
No description provided
Readme 143 KiB
Languages
Go 89%
Makefile 7.2%
Dockerfile 3.8%