management tool for equipment and book rental
$ docker compose up --build --watch
Now you can access to http://localhost:8080 for booQ
And you can access booQ MariaDB by executing commands
docker compose exec db bash and mysql -uroot -ppassword -Dbooq-v3
You can test this project
$ ./scripts/test.sh
// Run with coverage. It creates cover_model.html, cover_router.html
$ ./scripts/test.sh cover
docker compose up --no-deps --build
docker compose down -v
write it down in your .vscode/settings.json
{
"go.testEnvVars": {
"MYSQL_DATABASE": "test"
}
}