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
- Host: GitHub
- URL: https://github.com/diloabininyeri/go-rest-api
- Owner: diloabininyeri
- Created: 2022-04-15T08:42:32.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-25T17:17:23.000Z (almost 4 years ago)
- Last Synced: 2025-02-21T08:51:39.285Z (about 1 year ago)
- Topics: docker, dokcer-compose, gin, golang, rest-api
- Language: Go
- Homepage:
- Size: 66.3 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.MD
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)