An open API service indexing awesome lists of open source software.

https://github.com/diloabininyeri/go-rest-api

Golang rest API with MVC pattern, this job challenge is for the task for super_pay firm
https://github.com/diloabininyeri/go-rest-api

docker dokcer-compose gin golang rest-api

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

          

### Golang Rest Api with Docker
- Golang
- Gin
- Test
- Mvc Design
- Restapi

### let's start
for build
```console
docker-compose up --build
```
start
```console
docker-compose up
```
stop

```console
docker-compose down
```
for run unit-test
```console

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](http://localhost:8888)


[localhost:8889](http://localhost:8889)