Skip to content

Mufidzz/bareksa-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bareksa THT

Database Model

alt text

HOW TO TEST

go test -cover -v ./...

HOW TO RUN

  1. Setup Postgre Connection String -- app.go
postgreRepo, err := postgre.New("user=tes_bareksa password=tes_bareksa dbname=tes_bareksa host=localhost sslmode=disable")
	if err != nil {
		log.Printf("[DB Init] error initialize database, trace %v", err)
	} 
  1. Setup Redis Address app.go
redisRepo, err := redisRepository.New(redis.Options{
		Addr:     "localhost:6379",
		Password: "",
		DB:       0,
	}) 
  1. Run Syntax go run app.go

API DOCUMENTATION

https://documenter.getpostman.com/view/5872118/UVsPPk7z

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages