Go to file
2023-11-17 23:50:29 +03:30
.idea first commit 2023-10-27 13:21:58 +03:30
api feat: add list per product Category 2023-11-10 12:18:14 +03:30
command/generateCrud fix 2023-11-17 23:50:29 +03:30
configs first commit 2023-10-27 13:21:58 +03:30
database/seeds fix 2023-11-10 14:14:34 +03:30
docs fix 2023-10-30 03:03:40 +03:30
domain feat: add list per product Category 2023-11-10 12:18:14 +03:30
ent fix 2023-10-30 03:03:40 +03:30
entity fix 2023-11-01 20:12:26 +03:30
repository feat: add list per product Category 2023-11-10 12:18:14 +03:30
storage/logs add log 2023-10-31 20:01:06 +03:30
usecase feat: add list per product Category 2023-11-10 12:18:14 +03:30
utils fix 2023-10-30 03:03:40 +03:30
.env.example first commit 2023-10-27 13:21:58 +03:30
.gitignore fix 2023-10-28 01:42:56 +03:30
go.mod fix 2023-11-17 23:46:02 +03:30
go.sum fix 2023-11-17 23:46:02 +03:30
main.go add log 2023-10-31 20:01:06 +03:30
readme.md first commit 2023-10-27 13:21:58 +03:30

Documentation

Step 1: Set env file

Env name Description Example
SERVER_PORT Application running port :9000
DB_ROOT_PASSWORD Database root passwod
DB_NAME Database name
DB_USER Database User
DB_PASSWORD Database password
DB_HOST Database IP host localhost
ACCESS_TOKEN_HOUR_LIFESPAN Duration of authentication access token you in Login in Hour 1
REFRESH_TOKEN_HOUR_LIFESPAN Duration of authentication refresh token you in Login in Hour 1
ACCESS_TOKEN_SECRET Access Secret key that allow you to generate each login token secret_1246@@@@!!/shghj_---QaZerftQWWWfz
REFRESH_TOKEN_SECRET Refresh Secret key that allow you to generate each login token secret_1246@@@@!!/shghj_---QaZerftQWWWfz
TOKEN_PREFIX authorization token prefix used Bearer

Other environment variable will go there in this file

Step 2: Start mysql container

make db-start

Step 3: Start application

make go-server

https://github.com/louistwiice/go-BasicWithEnt.git