golang-fiber

command module
v0.0.0-...-723d331 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2023 License: MIT Imports: 1 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL