readme: add more informations

master
flo 2019-09-14 23:06:21 +02:00 committed by fbonhomm
parent ade8c10efd
commit f976539084
1 changed files with 18 additions and 1 deletions

View File

@ -1,2 +1,19 @@
# api-go
Api in Go with go-gonic and testify
Api in Go with go-gonic, gorm and testify
## Before Usage
* Create `.env` and `.env.testing` from `.env.example`
* Launch `postgresql` and create database `DB_NAME` in `.env` or/and `.env.testing`
## Usage
* For functional test `go test -v ./test/functional/*.go`
* For unit test `go test -v ./test/unit/*.go`
* For launch server `go run main.go`
## Technology
- Go
- Gin-Gonic
- gorm
- CORS
- Testify
- GolintCI-Lint