Skip to content

Commit

Permalink
Merge pull request #78 from NashTech-Labs/feature/Added-readme
Browse files Browse the repository at this point in the history
Added readme for payment service
  • Loading branch information
ankit-mogha authored Jan 17, 2024
2 parents 3d2e078 + e99651f commit b3fc5a1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ The listed services are operate sequentially.
- admin-service
- inventory-service
- order-service [README.md](order-service%2FREADME.md)
- payment-service
- payment-service [README.md](payment-service/README.md)
- shipment-service
- elasticsearch

Expand Down
Binary file added documentation/payment-application-config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions payment-service/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Payment Service
Payment Service Involves the user verification, and settlement of transactions and on the basis of that executes the PaymentCancelEvent or PaymentApprovedEvent.

## Prerequisites
We must set up Axon Server to handle command and query operations, and configure MySQL as the persistent store destination.

![payment-application-config.png](../documentation/payment-application-config.png)

## Local setup
- Setup axon-server and MySQL docker images
```
local-dev > docker compose up -d
```
- Run the application
```
payment-service > mvn clean springboot:run
```

0 comments on commit b3fc5a1

Please sign in to comment.