{"id":25282232,"url":"https://github.com/codezilla322/receipt-processor-challenge","last_synced_at":"2025-04-06T13:14:11.807Z","repository":{"id":277035139,"uuid":"931113180","full_name":"codezilla322/receipt-processor-challenge","owner":"codezilla322","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-11T18:52:12.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T19:40:22.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codezilla322.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":"2025-02-11T18:31:22.000Z","updated_at":"2025-02-11T18:52:15.000Z","dependencies_parsed_at":"2025-02-11T19:50:31.315Z","dependency_job_id":null,"html_url":"https://github.com/codezilla322/receipt-processor-challenge","commit_stats":null,"previous_names":["codezilla322/receipt-processor-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codezilla322%2Freceipt-processor-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codezilla322%2Freceipt-processor-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codezilla322%2Freceipt-processor-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codezilla322%2Freceipt-processor-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codezilla322","download_url":"https://codeload.github.com/codezilla322/receipt-processor-challenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247485288,"owners_count":20946398,"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":[],"created_at":"2025-02-12T19:09:42.939Z","updated_at":"2025-04-06T13:14:11.622Z","avatar_url":"https://github.com/codezilla322.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Receipt Processor\n\nThe **Receipt Processor** is a web service that processes receipts, calculates points based on specific rules, and stores the data in-memory using **Redis**. The service provides two main API endpoints:\n\n1. **`POST /receipts/process`**: Receives a JSON receipt, processes it, and returns a unique ID.\n2. **`GET /receipts/{id}/points`**: Retrieves the points awarded for a given receipt ID.\n\n## Installation\n\nTo get started, ensure that **Go** and **Redis** are installed on your machine. The instructions below will help you set up the project.\n\n### 1. Clone the Repository\n\nClone this repository to your local machine:\n\n```sh\ngit clone https://github.com/codezilla322/receipt-processor-challenge.git\ncd receipt-processor\n```\n\n### 2. Install Dependencies\n\nRun the following command to download required Go modules:\n\n```sh\ngo mod tidy\n```\n\n### 3. Start Redis Server\n\nMake sure Redis is running locally on port 6379\n\n```sh\nredis-server\n```\n\n### 4. Run the Application\n\nAfter Redis is running, you can start the Go application by running:\n\n```sh\ngo run main.go\n```\n\nThis will start the web service on port 8080.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodezilla322%2Freceipt-processor-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodezilla322%2Freceipt-processor-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodezilla322%2Freceipt-processor-challenge/lists"}