Skip to content

salimkun/Efishery-Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Mono Repo With Golang

#Detail

  • Thir include 2 Service (Auth have 3 API (Register, Login, Me) and Fetch have 2 API (Get Resource and Get Aggregat just for role admin))
  • For get reource using external API for get resource data and using converter currency for convert currency from IDR to USD but for call converter currency just 1 hour once, because using Redis for memory cache

#How to use

without docker

  • Open terminal and run :
foo@bar:~$ cd Efishery-Test
foo@bar/Efishery-Test:~$ cd /Auth
foo@bar/Efishery-Test:/Auth~$ go run main.go
  • And open terminal again for running app fetch
foo@bar:~$ cd Efishery-Test
foo@bar/Efishery-Test:~$ cd /Fetch
foo@bar/Efishery-Test:/Fetch~$ go run main.go
  • Open Postman and Import postman collection from directory doc
  • For detail can see a video in directory doc

with docker

  • Open terminal and run :
foo@bar:~$ cd Efishery-Test
foo@bar/Efishery-Test:~$ docker-compose build
foo@bar/Efishery-Test:~$ docker-compose up
  • Open Postman and Import postman collection from directory doc
  • For detail can see a video in directory doc

Notes :

  • in thir Role admin is 1 and user 2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages