Skip to content

aminatpwk/logistics-and-supply

Repository files navigation

LogisticsTracker - Microservices Architecture

.NET C# License Native AOT Microservices ASP.NET Core Status

A logistics tracking system built with .NET 10 and C# 14 demonstrating modern microservices patterns and the latest language features.


Overview

LogisticsTracker is a microservices-based logistics management system designed to showcase modern .NET development practices. The project demonstrates:

  • Microservices Architecture
  • Service-to-Service Communication - HTTP-based integration
  • Domain-Driven Design
  • Modern C# Features - C# 14 preview features
  • .NET 10 Capabilities - Native AOT, TimeProvider, improved APIs

Technologies Used

Core Framework

  • .NET 10
  • C# 14 (Preview)
  • ASP.NET Core Minimal APIs
  • Native AOT

Libraries & Tools

  • System.Text.Json
  • HttpClient
  • OpenAPI
  • TimeProvider

Infrastructure

  • Apache Kafka
  • PostgreSQL
  • Redis
  • .NET Aspire

Services

1. Orders Service

Purpose: Manage customer orders and order lifecycle

Endpoints:

POST   /api/orders              - Create order
GET    /api/orders              - List orders (paginated)
GET    /api/orders/{id}         - Get order by ID
GET    /api/orders/number/{num} - Get order by order number
PUT    /api/orders/{id}/status  - Update order status
DELETE /api/orders/{id}         - Cancel order

2. Inventory Service

Purpose: Manage product inventory and stock reservations

Endpoints:

POST   /api/inventory              - Create inventory item
GET    /api/inventory              - List all inventory
GET    /api/inventory/{productId}  - Get by product ID
GET    /api/inventory/sku/{sku}    - Get by SKU
GET    /api/inventory/low-stock    - Get low stock items
PUT    /api/inventory/{id}/stock   - Update stock levels
POST   /api/inventory/reserve      - Reserve inventory
POST   /api/inventory/release/{id} - Release reservation

Inventory and Orders services orchestrated through Aspire:

image

License

This project is created for educational purposes to demonstrate modern .NET and C# features.


treat people with kindness :)

About

C#14 and .NET10 microservices project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages