Categorygithub.com/destafajri/golang-fiber
repositorypackage
0.0.0-20230406134650-723d331f89f9
Repository: https://github.com/destafajri/golang-fiber.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

Go-Lang Fiber Project

Sample Go-Lang Fiber Project Structure

How to use

  • Please clone or download this repository.
  • Prepare postgres database, or use docker, you can type
docker-compose up

OR

docker-compose up -d
  • add .env file to setup your database connection
  • installing migrator tools download from golang migrate in release page
  • run
make migrate-up
  • run the golang server
make run

Framework

  • Web : GoFiber
  • Validation : Go-Ozzo
  • Configuration : GoDotEnv
  • Database : MongoDB, Postgres, MySQL

Architecture

Controller -> Service -> Repository

Addition

  • Entity is representing database table
  • Model is representing payload and response
  • Helper is representing anything what you need to help your coding process