- gin-jwt https://github.com/appleboy/gin-jwt
- react-query-auth https://github.com/alan2207/react-query-auth
docker-compose build
docker-compose run --rm web air init
docker-compose run --rm web go mod tidy
docker-compose up -d
cd src
go mod tidy
when installed, go.mod and go.sum are updated.
docker-compose exec web sh
export CGO_ENABLED=0
go test ./...
if CGO_ENABLED=1, tests cannot be run. with message 'exec: "gcc": executable file not found in $PATH.'
https://zenn.dev/tomi/articles/2020-10-22-go-docker-test
https://zenn.dev/hrs/articles/go-gin-air-docker
cd front
npm install
npm start