From f976539084dc813ed615ffe122904dbf63c222c3 Mon Sep 17 00:00:00 2001 From: flo Date: Sat, 14 Sep 2019 23:06:21 +0200 Subject: [PATCH] readme: add more informations --- README.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eabd2cb..7535125 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file