Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rashevskiivv/go-fiber-api-docker

Pet project to try fiber, postgres, zap. Check README for more info
https://github.com/rashevskiivv/go-fiber-api-docker

docker docker-compose fiber-go golang gorm postgres postgresql viper-env zap

Last synced: about 1 month ago
JSON representation

Pet project to try fiber, postgres, zap. Check README for more info

Awesome Lists containing this project

README

        

# API to work with products
This project is a pet project to try fiber. Here's a CRUD for 1 entity.

In project were used the following libraries:
* [Fiber](https://docs.gofiber.io/) - Routing
* [Viper](https://github.com/spf13/viper) - Managing the environment variables
* [GORM](https://gorm.io/) - ORM
* Postgres - DB
* Docker with volumes + Docker-compose - Containerization
* [Zap](https://github.com/uber-go/zap) - Logging

## Docker
1. Clone this repository.
2. Run: ```docker compose up```
3. Stop in different window: ```docker compose down``` OR CTRL+C to terminate the process in the same window.