diloabininyeri / go-rest-api

Golang rest API with MVC pattern, this job challenge is for the task for super_pay firm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang Rest Api with Docker

  • Golang
  • Gin
  • Test
  • Mvc Design
  • Restapi

let's start

for build

docker-compose up --build

start

docker-compose up

stop

docker-compose down

for run unit-test

go test ./tests/ -v

We replicated the application from 2 separate ports via docker-compose

App is ready.

why two ports ?

  • for high traffic (desire state)

localhost:8888
localhost:8889

About

Golang rest API with MVC pattern, this job challenge is for the task for super_pay firm


Languages

Language:Go 95.4%Language:Shell 3.2%Language:Dockerfile 1.4%