Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rashevskiivv/go-fiber-api-docker
- Owner: rashevskiivv
- Created: 2023-01-15T13:41:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T13:32:51.000Z (almost 2 years ago)
- Last Synced: 2023-07-14T11:24:47.985Z (over 1 year ago)
- Topics: docker, docker-compose, fiber-go, golang, gorm, postgres, postgresql, viper-env, zap
- Language: Go
- Homepage:
- Size: 10.4 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.