{"id":15067314,"url":"https://github.com/mohdjishin/goocart","last_synced_at":"2025-08-14T18:39:40.989Z","repository":{"id":65427251,"uuid":"588919541","full_name":"mohdjishin/GooCart","owner":"mohdjishin","description":"This repository contains the source code for an eCommerce API . API designed for is using in a modern, scalable eCommerce application .This API is built using GoLang and the Fiber web framework, which makes it lightweight, fast, and easy to scale","archived":false,"fork":false,"pushed_at":"2024-03-09T17:54:29.000Z","size":43973,"stargazers_count":24,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T17:08:43.601Z","etag":null,"topics":["aws","docker","docker-compose","git-actions-cicd","go","gorm","gosec","jwt","postgresql","rest-api","s3","s3-bucket"],"latest_commit_sha":null,"homepage":"https://goocart.me","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mohdjishin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-14T13:33:42.000Z","updated_at":"2025-03-28T02:18:23.000Z","dependencies_parsed_at":"2023-02-19T02:00:32.699Z","dependency_job_id":"fb1e104d-4c3d-4726-b576-f5ef2d925586","html_url":"https://github.com/mohdjishin/GooCart","commit_stats":null,"previous_names":["mohdjishin/gocart"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mohdjishin/GooCart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohdjishin%2FGooCart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohdjishin%2FGooCart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohdjishin%2FGooCart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohdjishin%2FGooCart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohdjishin","download_url":"https://codeload.github.com/mohdjishin/GooCart/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohdjishin%2FGooCart/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270466385,"owners_count":24588791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","docker","docker-compose","git-actions-cicd","go","gorm","gosec","jwt","postgresql","rest-api","s3","s3-bucket"],"created_at":"2024-09-25T01:19:37.191Z","updated_at":"2025-08-14T18:39:40.966Z","avatar_url":"https://github.com/mohdjishin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GooCart\n\n\n\nGooCart is a high-performance e-commerce platform backend written in Go language. It is designed to handle a large number of requests and transactions efficiently, making it ideal for large-scale e-commerce operations!\n\n\n\n\n\n\n## Technologies and tools used\n\n- Language : Go                                                             \n- Framwork : Fiber\n- Database : Postgresql GORM\n- JSON Web Token (JWT) authentication for secure user authentication         \n- Amazon S3 bucket for storing data\n- Stripe Payment API for handling transactions\n- Twilio API for OTP verification                 \n- Docker\n\n\n\n## Run On local machine\n\nclone this project\n\n```\ngit clone https://github.com/mohdjishin/GooCart\n```\n\nopen GooCart Directory\n\n```\ncd GooCart\n```\n\ndownload dependencies\n\n```\ngo get\n```\n\nrun\n\n```\ngo run *.go\n```\n\napp is listening on port 8080\n\n\n\n## Run using makefile\n\nclone this project\n\n```\ngit clone https://github.com/mohdjishin/GooCart\n```\n\nopen GooCart Directory\n\n```\ncd GooCart\n```\n\nrun makefile\n```\nmake all\n```\n\n\n## Run using Docker\n\n```\ndocker run -p 8080:3000 mohdjishin/goocart:latest\n```\n\n## Adding .env file\n- Create a new file in the root of your project directory and name it .env.\n- Add the following information to the file:\n```\n#port\nPORT=8080\n#database\nDNS= \"host=\u003chost\u003e user=\u003cusername\u003e password=\u003cpassword\u003e dbname=\u003cdatabsename\u003e port=5432 sslmode=disable\"\n\n#JWT encryption key\nSECRET= \u003cSecretKey\u003e\n\n#Twilio\nTWILIO_ACCOUNT_SID=\u003cTWILIO_ACCOUNT_SID\u003e\nTWILIO_AUTH_TOKEN = \u003cTWILIO_AUTH_TOKEN \u003e\nVERIFY_SERVICE_SID= \u003cVERIFY_SERVICE_SID \u003e\n\n#AWS\nAWS_REGION=\u003cAWS_REGION\u003e\nAWS_ACCESS_KEY_ID=\u003cAWS_ACCESS_KEY_ID\u003e\nAWS_SECRET_ACCESS_KEY=\u003cAWS_SECRET_ACCESS_KEY\u003e\n\n#Stripe\nPAYMENT_SEC_KEY=\u003cStripe PAYMENT_SEC_KEY\u003e\n```\n\n\n## File Structure\n```\nGooCart/\n├── controller/\n│   ├── adminController.go\n│   ├── productController.go\n│   ├── productController_test.go\n│   ├── UserController.go\n│   └── UserController_test.go\n├── database/\n│   ├── connectToDB.go\n│   └── syncDataBase.go\n├── interfaces/\n│   ├── IAdmin.go\n│   ├── IBill.go\n│   ├── IDatabase.go\n│   ├── IProduct.go\n│   ├── IToken.go\n│   └── IUser.go\n├── k8s/\n│   ├── gocart-deployment.yml\n│   ├── gocart-Persistent.yml\n│   └── gocart-service.yml\n├── media/\n│   └── images/\n│       └── logo.png\n├── middleware/\n│   └── requireAuth.go\n├── model/\n│   ├── admin.go\n│   ├── orders.go\n│   ├── products.go\n│   └── user.go\n├── routes/\n│   ├── admin.go\n│   └── user.go\n├── utils/\n│   ├── billGen.go\n│   ├── billGEn_test.go\n│   ├── error.go\n│   ├── GraceFullShutdown.go\n│   ├── GraceFullShutdown_test.go\n│   ├── helpers.go\n│   ├── helpers_test.go\n│   ├── jwt.go\n│   ├── jwt_test.go\n│   ├── otp.go\n│   └── payment.go\n│\n├── Dockerfile\n├── DockerfileSingle\n├── docker-compose.yml \n├── go.sum\n├── go.mod\n├── main.go \n├── LICENSE \n├── makefile\n└── README.md\n```\n\n\n\n## Contributing\nWe welcome contributions to this project. Please fork the repository and submit a pull request with your changes.\n\n#\n\u003cimg src=\"https://img.shields.io/badge/Go-00ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=white\" /\u003e  \u003cimg src=\"https://img.shields.io/badge/JWT-000000?style=for-the-badge\u0026logo=JSON%20web%20tokens\u0026logoColor=white\"/\u003e   \u003cimg src=\"https://img.shields.io/badge/Twilio-F22F46?style=for-the-badge\u0026logo=Twilio\u0026logoColor=white\"/\u003e   \u003cimg src=\"https://img.shields.io/badge/Amazon_AWS-FF9900?style=for-the-badge\u0026logo=amazonaws\u0026logoColor=white\"/\u003e  \u003cimg src=\"https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge\u0026logo=docker\u0026logoColor=white\" /\u003e   \u003cimg src=\"https://img.shields.io/badge/PostgreSQL-316192?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white\" /\u003e  \u003cimg src=\"https://img.shields.io/badge/Stripe-626CD9?style=for-the-badge\u0026logo=Stripe\u0026logoColor=white\" /\u003e   \u003cimg src=\"https://img.shields.io/badge/GitHub_Actions-2088FF?style=for-the-badge\u0026logo=github-actions\u0026logoColor=white\" /\u003e   \u003cimg src=\"https://img.shields.io/badge/kubernetes-326ce5.svg?\u0026style=for-the-badge\u0026logo=kubernetes\u0026logoColor=white\" /\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohdjishin%2Fgoocart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohdjishin%2Fgoocart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohdjishin%2Fgoocart/lists"}