Simple REST API project using Go with Clean Architecture
- echo - Web framework
- sqlx - 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
- paseto - Platform-Agnostic Security Tokens (PASETO)
- uuid - UUID
- migrate - Database migrations. CLI and Golang library.
- minio-go - MinIO Client SDK for Go
- swag - Swagger
- testify - Testing toolkit
- gomock - Mocking framework
- asynq - Distributed task queue in Go
Clone this repository:
git clone https://github.com/scul0405/blog-clean-architecture-rest-api.git
cd blog-clean-architecture-rest-api
Run this command:
make docker_dev
make docker_local
Run server
make run
Run testing
make test
Generate documentation
make swag