module
0.0.0-20241003094036-22e0ae34000c
Repository: https://github.com/kenini1805/go-rest-api.git
Documentation: pkg.go.dev
# README
Golang Clean Architecture REST API example 🚀
👨💻 Full list what has been used:
- gin - Web framework
- gorm - Extensions to database/sql.
- pgx - PostgreSQL driver and toolkit for Go
- viper - Go configuration with fangs
- go-redis - Type-safe Redis client for Golang
- zap - Logger
- validator - Go Struct and Field validation
- jwt-go - JSON Web Tokens (JWT)
- uuid - UUID
- migrate - Database migrations. CLI and Golang library.
- minio-go - AWS S3 MinIO Client SDK for Go
- bluemonday - HTML sanitizer
- swag - Swagger
- testify - Testing toolkit
- gomock - Mocking framework
- CompileDaemon - Compile daemon for Go
- Docker - Docker
Recomendation for local development most comfortable usage:
make local // run all containers
make run // it's easier way to attach debugger or rebuild/rerun project
🙌👨💻🚀 Docker-compose files:
docker-compose.local.yml - run postgresql, redis, aws, prometheus, grafana containrs
Docker development usage:
make docker
Local development usage:
make local
make run
SWAGGER UI:
https://localhost:5000/swagger/index.html