Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/veryhappytree/go-boilerplate
Starter for golang projects
https://github.com/veryhappytree/go-boilerplate
boilerplate chi golang golang-examples gorm rabbitmq redis rest-api starter-kit viper zerolog
Last synced: 3 months ago
JSON representation
Starter for golang projects
- Host: GitHub
- URL: https://github.com/veryhappytree/go-boilerplate
- Owner: veryhappytree
- Created: 2023-06-25T14:02:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-29T20:44:38.000Z (3 months ago)
- Last Synced: 2024-09-29T21:21:13.541Z (3 months ago)
- Topics: boilerplate, chi, golang, golang-examples, gorm, rabbitmq, redis, rest-api, starter-kit, viper, zerolog
- Language: Go
- Homepage:
- Size: 30.3 KB
- Stars: 18
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Boilerplate
Easily expandable ready to use golang boilerplate.
## Features
- Configuration by [viper](https://github.com/spf13/viper)
- API Routing by [chi](https://github.com/go-chi/chi)
- API Documentation [swagger](github.com/flowchartsman/swaggerui)
- Database usage [gorm](https://github.com/go-gorm/gorm)
- Database migrations [gormigrate](https://github.com/go-gormigrate/gormigrate)
- AMQP client [rabbitmq](https://github.com/rabbitmq/amqp091-go)
- Redis client [redis](https://github.com/redis/go-redis)
- Logging with [zerolog](https://github.com/rs/zerolog)
## How to use
Copy .env.example file and fill environment variables
```
cp .env.example .env
```
Run
```
make tidy
make run
```