A simple Spring Boot microservice for managing user wallet balances and transaction logs. Utilizes MySQL and Docker.
- URL:
/api/wallet/get-balance
- Method:
GET
- Params:
user_id
(int) - Response:
{"balance": 4000}
- URL:
/api/wallet/add-money
- Method:
POST
- Params:
user_id
(int),amount
(int) - Response:
{"reference_id": 12312312312}
- Java 21
- Docker & Docker Compose
git clone https://github.com/yourusername/wallet-microservice.git
cd wallet-microservice
docker-compose up --build