This repository implements a GoLang microservice for managing orders within a larger application. It utilizes the GoFr framework for building a RESTful API.
- Create, retrieve, update, and delete orders.
- Manage order lifecycle states (e.g., placed, confirmed, shipped, delivered, cancelled).
- Integrate with other microservices for functionalities like inventory management and payment processing.
This service adheres to a microservice architecture, promoting:
- Scalability: Independent scaling based on order volume.
- Resilience: Failure in one service minimizes impact on others.
- Maintainability: Smaller codebases for focused development.
- GoLang: The primary programming language for the service.
- GoFr: An Opinionated Go Framework, for accelerated microservice development.
- Ensure you have GoLang and Git installed on your system.
- Clone the repository:
git clone [email protected]:srijan-27/order-service.git
- Run the service:
go run main.go
By default, the service listens on port 8080. You can adjust this by setting the HTTP_PORT environment variable.
Detailed API documentation with endpoints and request/response formats will be added in a separate file (e.g., docs.md).
We welcome contributions to this project. Please refer to the CONTRIBUTING.md file for guidelines.