Skip to content

dnwandana/fiber-gorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fiber Gorm

Simple CRUD Rest Api, created using GoFiber and GORM

Download Depedencies

go mod download

Running the Application

go run main.go

Compile the Application

go build main.go

Dockerize the Application

# build
docker build -t my-golang-app:1.0 .

# run
docker run --name my-golang-app -p 5000:5000 -e DB_HOST="host" -e DB_PORT="5432" -e DB_NAME="fiber_gorm" -e DB_USER="superuser" -e DB_PASS="secret" -e DB_TZ="Asia/Jakarta" -d my-golang-app:1.0

Reference

About

Simple CRUD Rest Api, created using GoFiber and GORM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors