This is Golang REST API server example including the following features:
- based on minimalist Go web framework - Echo
- made with Clean Architecture (Controller => Service => Repository)
- has services that work with PostgreSQL database
- config based on envconfig with GoDotEnv
- fastest Zap logger
- swagger documentation by Swaggo
- Implemented classic CRUD with all the requirements, including working with a third-party service when adding music to the library, Mokky.dev for example
- to start correctly you will need Docker and preferably "Make tools"
$ make upor
$ docker compose -f docker-compose.yml up -d- After assembly, the server will start and Swagger documentation will become available to you at this path:
http://localhost:9999/swagger/