├── .github └── workflows │ ├── go.yml │ └── go.yml.bak ├── .gitignore ├── Dockerfile ├── DockerfileSingle ├── LICENSE ├── README.md ├── controller ├── UserController.go ├── UserController_test.go ├── adminController.go ├── productController.go └── productController_test.go ├── database ├── connectToDB.go └── syncDataBase.go ├── docker-compose.yml ├── go.mod ├── go.sum ├── interfaces ├── IAdmin.go ├── IBill.go ├── IDatabase.go ├── IProduct.go ├── IToken.go └── IUser.go ├── k8s ├── gocart-Persistent.yml ├── gocart-deployment.yml └── gocart-service.yml ├── main.go ├── makefile ├── media └── images │ └── logo.png ├── middleware └── requireAuth.go ├── model ├── admin.go ├── orders.go ├── products.go └── user.go ├── routes ├── admin.go └── user.go └── utils ├── GraceFullShutdown.go ├── GraceFullShutdown_test.go ├── billGEn_test.go ├── billGen.go ├── error.go ├── helpers.go ├── helpers_test.go ├── jwt.go ├── jwt_test.go ├── otp.go ├── payment.go └── validator.go /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.github/workflows/go.yml.bak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/.github/workflows/go.yml.bak -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/Dockerfile -------------------------------------------------------------------------------- /DockerfileSingle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/DockerfileSingle -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/README.md -------------------------------------------------------------------------------- /controller/UserController.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/controller/UserController.go -------------------------------------------------------------------------------- /controller/UserController_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/controller/UserController_test.go -------------------------------------------------------------------------------- /controller/adminController.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/controller/adminController.go -------------------------------------------------------------------------------- /controller/productController.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/controller/productController.go -------------------------------------------------------------------------------- /controller/productController_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/controller/productController_test.go -------------------------------------------------------------------------------- /database/connectToDB.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/database/connectToDB.go -------------------------------------------------------------------------------- /database/syncDataBase.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/database/syncDataBase.go -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/go.sum -------------------------------------------------------------------------------- /interfaces/IAdmin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/interfaces/IAdmin.go -------------------------------------------------------------------------------- /interfaces/IBill.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/interfaces/IBill.go -------------------------------------------------------------------------------- /interfaces/IDatabase.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/interfaces/IDatabase.go -------------------------------------------------------------------------------- /interfaces/IProduct.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/interfaces/IProduct.go -------------------------------------------------------------------------------- /interfaces/IToken.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/interfaces/IToken.go -------------------------------------------------------------------------------- /interfaces/IUser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/interfaces/IUser.go -------------------------------------------------------------------------------- /k8s/gocart-Persistent.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/k8s/gocart-Persistent.yml -------------------------------------------------------------------------------- /k8s/gocart-deployment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/k8s/gocart-deployment.yml -------------------------------------------------------------------------------- /k8s/gocart-service.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/k8s/gocart-service.yml -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/main.go -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/makefile -------------------------------------------------------------------------------- /media/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/media/images/logo.png -------------------------------------------------------------------------------- /middleware/requireAuth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/middleware/requireAuth.go -------------------------------------------------------------------------------- /model/admin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/model/admin.go -------------------------------------------------------------------------------- /model/orders.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/model/orders.go -------------------------------------------------------------------------------- /model/products.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/model/products.go -------------------------------------------------------------------------------- /model/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/model/user.go -------------------------------------------------------------------------------- /routes/admin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/routes/admin.go -------------------------------------------------------------------------------- /routes/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/routes/user.go -------------------------------------------------------------------------------- /utils/GraceFullShutdown.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/GraceFullShutdown.go -------------------------------------------------------------------------------- /utils/GraceFullShutdown_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/GraceFullShutdown_test.go -------------------------------------------------------------------------------- /utils/billGEn_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/billGEn_test.go -------------------------------------------------------------------------------- /utils/billGen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/billGen.go -------------------------------------------------------------------------------- /utils/error.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/error.go -------------------------------------------------------------------------------- /utils/helpers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/helpers.go -------------------------------------------------------------------------------- /utils/helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/helpers_test.go -------------------------------------------------------------------------------- /utils/jwt.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/jwt.go -------------------------------------------------------------------------------- /utils/jwt_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/jwt_test.go -------------------------------------------------------------------------------- /utils/otp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/otp.go -------------------------------------------------------------------------------- /utils/payment.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/payment.go -------------------------------------------------------------------------------- /utils/validator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohdjishin/GooCart/HEAD/utils/validator.go --------------------------------------------------------------------------------