git clone git@github.com:Pietrucci-Blacher/apigolang
run this command
docker compose up -d
and import this file go_api.sql
in adminer
create a .env
file and this example
HOST=localhost
PORT=8081
DB_DRIVER=mysql
DB_USER=root
DB_PASSWORD=azerty
DB_HOST=localhost
DB_PORT=3306
DB_NAME=go_api
JWT_SECRET=mysecret
go run main.go