| Method | Endpoint | Description |
|---|---|---|
| POST | /api/orders |
Create a new order |
| GET | /api/orders/{id} |
Not available yet |
Currently, no API is implemented for retrieving order details (i.e., the GET /api/orders/{id} endpoint is not available).
- Uses Spring Mail to send emails through Gmail.
- App password is used for Gmail authentication.
- π¦ Decoupled architecture using Kafka for event streaming
- π‘ Real-time updates for inventory and payment handling
- βοΈ Email notification system for order status
- π§ͺ Easy to scale and test each microservice independently
- Start Kafka locally (ensure Kafka and Zookeeper are running):
- Follow instructions to set up Kafka and Zookeeper locally.
- Run each microservice individually:
- Each service can be run via Spring Boot. Ensure the correct port configurations for each service.
- Use Postman or any HTTP client:
- Hit
POST /api/ordersto simulate order creation. This will trigger Kafka events and subsequent processing.
- Hit
Built with β€οΈ by Aryan