FinanceTracker/documentation.md

15 lines
941 B
Markdown

# 📖 Documentation
## Project Structure
The project follows a standard Spring Boot application structure:
- `src/main/java/com/example/FinanceTracker`: Root package.
- `Controllers`: Contains Spring MVC controllers for handling dashboard views, transaction forms, and API endpoints.
- `Services`: Houses business logic, such as processing transactions, calculating budget totals, and generating chart data.
- `Repositories`: Interfaces for database access and data persistence.
- `Entities`: JPA entities representing database tables (e.g., `Transaction`, `Category`).
- `DTO`: Data Transfer Objects used to shape data for the views and API responses.
- `Component`: Contains general-purpose components and utility classes.
- `src/main/resources`:
- `static`: For static assets like CSS, JavaScript, and images.
- `templates`: Contains Thymeleaf HTML templates.
- `application.properties`: For application configuration.