A project to learn the Spring Boot framework and test-driven development.
- Retail traders can place market buy orders
- Retail traders can place market sell orders
- Retail traders can close their orders
- Balance to be reflected in their account.
GET: /coins
Query Parameters:
- page (int, optional): Page number for pagination
- size (int, optional): Number of items per page
GET: /coins/{coinId}
GET: /coins/trending
GET: /api/wallet
POST: /api/wallet/deposit
POST: /api/wallet/withdraw
Request body:
{
"amount": "number",
}
POST: /api/order/place
POST: /api/order/{orderId}/close