This endpoint is used to get all expenses for a specific user.
Endpoint: https://cashboard-f5x2.onrender.com/expense
Query: User’s UUID
The response will be a JSON object that includes an array of all the user’s expenses.
Each expense object in the array will have the following properties:
desc (string): Description of the expense
category (string): Category of the expense
date (timestamp): Date of the expense
account (string): Account associated with the expense
amount (number): Amount of the expense
_id (string): Unique identifier for the expense
required
OK
The response is of type object
.