Skip to content

srijan-27/order-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ORDER-SERVICE

This repository implements a GoLang microservice for managing orders within a larger application. It utilizes the GoFr framework for building a RESTful API.

Features

  • 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.

Architecture

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.

Technologies

  • GoLang: The primary programming language for the service.
  • GoFr: An Opinionated Go Framework, for accelerated microservice development.

Getting Started

  • 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.

API Documentation

Detailed API documentation with endpoints and request/response formats will be added in a separate file (e.g., docs.md).

Contribution

We welcome contributions to this project. Please refer to the CONTRIBUTING.md file for guidelines.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages