Welcome to the API documentation for the Financial Management Application
project! This documentation provides detailed information about endpoints, how to use the API, and sample requests and responses.
The API base URL is https://finances-manager.onrender.com/
. All endpoints listed below must be appended to this base URL.
Endpoint: localhost:8000/incomes/
(GET/POST)
Endpoint: localhost:8000/incomes/{id}/
(GET/PUT/DELETE)
Endpoint: localhost:8000/expenses/
(GET/POST)
Endpoint: localhost:8000/expenses/{id}/
(GET/PUT/DELETE)
Endpoint: localhost:8000/goals/
(GET/POST)
Endpoint: localhost:8000/goals/{id}/
(GET/PUT/DELETE)
Here are some examples of requests and responses for the API endpoints:
GET expenses/
Response:
[
{
"id": 1,
"description": "Rent",
"amount": 1000.0,
"date": "2023-08-10"
},
{
"id": 2,
"description": "Supermarket",
"amount": 200.0,
"date": "2023-08-12"
}
]
POST goals/
{
"description": "Dream trip",
"target_amount": 5000.0
}
Response:
{
"id": 3,
"description": "Dream trip",
"target_amount": 5000.0,
"progress": 0.0
}
This project is licensed under the MIT License. See the LICENSE file for more details.