Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devika7300/receipt-processor
https://github.com/devika7300/receipt-processor
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/devika7300/receipt-processor
- Owner: devika7300
- Created: 2024-12-18T02:30:33.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-18T02:36:52.000Z (about 2 months ago)
- Last Synced: 2024-12-18T03:26:03.271Z (about 2 months ago)
- Language: Go
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Receipt Processor
## Overview
The Receipt Processor is a simple web service designed to process receipts and calculate points based on specific business rules. This project is implemented using Go and can be run within a Docker container.## Features
- Process receipt data via a REST API.
- Calculate points based on the receipt contents.
- Store receipt data in-memory (no persistent storage).## Prerequisites
- Docker
- Go (optional for local development without Docker)## Installation
### With Docker
1. Clone the repository:
```bash
git clone https://github.com/yourusername/receipt-processor.git
cd receipt-processor2. Build the Docker image:
docker build -t receipt-processor .3. Run the Docker container:
docker run -d -p 8080:8080 receipt-processor### Without Docker
go run main.go