This repository has two project FrontEnd(Angular) and BackEnd(Java, Python)
Project Structure
If you new in Apache kafka you can bootstrap it quickly using Confluent's image: link
I have 5 services in my backend this are
- Payment Service
- Customer Service
- Order Service
- Product Service
- Stock Service
This service is responsible for connecting to Iyzico server and getting payment. There was a problem with the java package so I used python instead. The service is listening to Apache Kafka topic whose name is t_stock runs on 9092 port. If the payment gets. The service redirects the user Success Page otherwise throw an error
This service is responsible for authenticating users and registering user
This service is responble for listening to Kafka payment_event topic. If the payment is successful this service creates Order in OrderDB
This service is responsible comminicate with UI-service. The service returns products and filters them.
This service work with Product service and Order Service before user buy. this service control wanted product in the stock.
Frontend is writen with Angular If you want to run it. run npm install then ng serve Make sure you have Node.js and Angular CLI




