{"id":19232292,"url":"https://github.com/iamtonmoy0/go-sales-api","last_synced_at":"2026-04-18T17:36:54.394Z","repository":{"id":231605224,"uuid":"782183128","full_name":"iamtonmoy0/go-sales-api","owner":"iamtonmoy0","description":"A ready to use Sales API with golang,gorm and sqlite3","archived":false,"fork":false,"pushed_at":"2024-04-14T02:09:08.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-14T17:24:34.436Z","etag":null,"topics":["api","api-client","api-rest","golang","gorm","gorm-orm","sales-api","sales-management","sales-management-system","sqlite","sqlite3"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamtonmoy0.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-04T19:51:50.000Z","updated_at":"2024-06-19T09:10:05.781Z","dependencies_parsed_at":"2024-04-04T21:37:50.136Z","dependency_job_id":"b48a98f7-95de-4e8d-ba81-430bcaeb4318","html_url":"https://github.com/iamtonmoy0/go-sales-api","commit_stats":null,"previous_names":["iamtonmoy0/go-sales-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamtonmoy0%2Fgo-sales-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamtonmoy0%2Fgo-sales-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamtonmoy0%2Fgo-sales-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamtonmoy0%2Fgo-sales-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamtonmoy0","download_url":"https://codeload.github.com/iamtonmoy0/go-sales-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240307770,"owners_count":19780879,"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","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":["api","api-client","api-rest","golang","gorm","gorm-orm","sales-api","sales-management","sales-management-system","sqlite","sqlite3"],"created_at":"2024-11-09T16:05:53.578Z","updated_at":"2026-04-18T17:36:49.368Z","avatar_url":"https://github.com/iamtonmoy0.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sales API Project\n\n## Overview\n\nThis project is an API designed for managing sales-related operations. It provides endpoints to handle various aspects of sales such as cashiers, categories, discounts, orders, payments, payment types, and products.\n\n### Features\n\n- Cashier Management: Allows the creation, retrieval, updating, and deletion of\n  cashiers. Cashiers can be created with a name, email address, phone number, and password. They can also be retrieved by their cashiers. Cashiers have a name cashiers.\n- Category Management: Provides functionalities to manage product categories.\n- Discount Management: Enables the management of discounts on products.\n- Order Management: Facilitates the creation and tracking of orders.\n- Payment Management: Handles different types of payments and payment methods.\n  Product Management: Manages product details including stock, price, and categories.\n  Technologies Used\n- Golang: The backend of the API is implemented using Go programming language.\n- Gorm: Gorm is used as the ORM library to interact with the database.\n- JSON Web Tokens (JWT): JWT is used for authentication and authorization purposes.\n- SQLite:SQLite database is used to store data related to cashiers, categories, discounts, orders, payments, payment types, and products.\n\n## Setup\n\nClone the repository.\nInstall dependencies using\n\n```sh\n go mod tidy\n```\n\nConfigure the MySQL database connection in the .env file.\nRun the application using go\n\n```sh\nrun main.go\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamtonmoy0%2Fgo-sales-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamtonmoy0%2Fgo-sales-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamtonmoy0%2Fgo-sales-api/lists"}