https://github.com/gol4ng/skeleton
skeleton proposal for Go application
https://github.com/gol4ng/skeleton
docker golang grpc protobuf-files skeleton
Last synced: about 2 months ago
JSON representation
skeleton proposal for Go application
- Host: GitHub
- URL: https://github.com/gol4ng/skeleton
- Owner: gol4ng
- License: mit
- Created: 2019-07-19T12:47:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T03:27:46.000Z (about 3 years ago)
- Last Synced: 2025-08-14T17:58:32.542Z (8 months ago)
- Topics: docker, golang, grpc, protobuf-files, skeleton
- Language: Go
- Homepage:
- Size: 321 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# GO-SKELETON
this is a simple golang app skeleton that proposes an architecture to provide:
- http server
- grpc server
- elasticSearch repository
- dependency injection (container)
- metrics middleware (prometheus)
- contextualised services (i.e: request-scoped services)
---
# Table of Contents
1. [Requirements](#requirements)
2. [Install](#install)
3. [Run](#run)
1. [gRPC/HTTP servers](#run-grpc--http-servers)
2. [job](#run-job)
4. [Generate protobuf files](#generate-protobuf-files)
5. [TODOs](TODO.md)
---
## Requirements:
- Docker
- Docker-compose
- Golang with go-modules activated
## Install
```
go mod download
```
## Run
The skeleton app provides two commands/binaries:
- a gRPC & HTTP server
- a job
### Run gRPC & http servers
```
go run ./cmd/server
```
### Run job
```
go run ./cmd/job
```
## Generate protobuf files
```
make proto
```