├── .air.toml ├── .dockerignore ├── .env.example ├── .github ├── dependabot.yml └── pull_request_template.md ├── .gitignore ├── .vscode └── launch.json ├── Dockerfile ├── Makefile ├── README.md ├── app ├── handlers │ ├── auth │ │ └── auth_handler.go │ ├── global │ │ └── global.go │ └── users │ │ └── users_handler.go ├── models │ ├── orders │ │ └── order_entity.go │ ├── products │ │ └── product_entity.go │ ├── receipts │ │ └── receipt_entity.go │ └── users │ │ └── user_entity.go └── services │ ├── auth │ ├── auth_service.go │ └── dto │ │ └── auth_dto.go │ ├── register_service.go │ └── user │ ├── dto │ └── user.dto.go │ └── user_service.go ├── cmd └── main.go ├── docker ├── docker-compose.yaml └── nginx │ └── nginx.conf ├── docs ├── docs.go ├── swagger.json └── swagger.yaml ├── go.mod ├── go.sum └── internal ├── configs ├── database │ └── connect.go ├── exception │ └── pipe.go ├── log │ └── logger.go ├── server.go ├── swagger │ └── swagger.go └── version │ └── version.go ├── constants └── constant.go ├── middlewares └── jwt_verify.go ├── routes ├── auth │ └── auth_router.go ├── routers.go └── user │ └── user_router.go └── utils ├── response.go └── utilities.go /.air.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/.air.toml -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/.env.example -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/Dockerfile -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/README.md -------------------------------------------------------------------------------- /app/handlers/auth/auth_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/handlers/auth/auth_handler.go -------------------------------------------------------------------------------- /app/handlers/global/global.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/handlers/global/global.go -------------------------------------------------------------------------------- /app/handlers/users/users_handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/handlers/users/users_handler.go -------------------------------------------------------------------------------- /app/models/orders/order_entity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/models/orders/order_entity.go -------------------------------------------------------------------------------- /app/models/products/product_entity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/models/products/product_entity.go -------------------------------------------------------------------------------- /app/models/receipts/receipt_entity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/models/receipts/receipt_entity.go -------------------------------------------------------------------------------- /app/models/users/user_entity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/models/users/user_entity.go -------------------------------------------------------------------------------- /app/services/auth/auth_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/services/auth/auth_service.go -------------------------------------------------------------------------------- /app/services/auth/dto/auth_dto.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/services/auth/dto/auth_dto.go -------------------------------------------------------------------------------- /app/services/register_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/services/register_service.go -------------------------------------------------------------------------------- /app/services/user/dto/user.dto.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/services/user/dto/user.dto.go -------------------------------------------------------------------------------- /app/services/user/user_service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/app/services/user/user_service.go -------------------------------------------------------------------------------- /cmd/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/cmd/main.go -------------------------------------------------------------------------------- /docker/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/docker/docker-compose.yaml -------------------------------------------------------------------------------- /docker/nginx/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/docker/nginx/nginx.conf -------------------------------------------------------------------------------- /docs/docs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/docs/docs.go -------------------------------------------------------------------------------- /docs/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/docs/swagger.json -------------------------------------------------------------------------------- /docs/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/docs/swagger.yaml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/go.sum -------------------------------------------------------------------------------- /internal/configs/database/connect.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/configs/database/connect.go -------------------------------------------------------------------------------- /internal/configs/exception/pipe.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/configs/exception/pipe.go -------------------------------------------------------------------------------- /internal/configs/log/logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/configs/log/logger.go -------------------------------------------------------------------------------- /internal/configs/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/configs/server.go -------------------------------------------------------------------------------- /internal/configs/swagger/swagger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/configs/swagger/swagger.go -------------------------------------------------------------------------------- /internal/configs/version/version.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/configs/version/version.go -------------------------------------------------------------------------------- /internal/constants/constant.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/constants/constant.go -------------------------------------------------------------------------------- /internal/middlewares/jwt_verify.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/middlewares/jwt_verify.go -------------------------------------------------------------------------------- /internal/routes/auth/auth_router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/routes/auth/auth_router.go -------------------------------------------------------------------------------- /internal/routes/routers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/routes/routers.go -------------------------------------------------------------------------------- /internal/routes/user/user_router.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/routes/user/user_router.go -------------------------------------------------------------------------------- /internal/utils/response.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/utils/response.go -------------------------------------------------------------------------------- /internal/utils/utilities.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tienld-0801/go-research/HEAD/internal/utils/utilities.go --------------------------------------------------------------------------------