Expense Tracker API — Spring Boot
A Java-based REST API for tracking and visualizing expenses, providing insights into spending trends over time.

- Published on
- Role
- Backend Developer
- Stack
- Java, Spring Boot, MySQL
- License
- MIT
- Source
- github.com/alinaqi2000/expenses-api-spring-boot
The Expense Tracker API is a Java-based REST API developed using the Spring Boot framework. This API allows users to track and visualize their expenses through an expense chart, providing insights into the trends of increasing or decreasing expenses over time.
Features
Expense Data: The API enables users to input their expense data, including the amount spent and the date of the expense.
Data Visualization: The core feature of the API is generating an expense chart that visually represents the trends in expense fluctuations over a specified period.
Trend Analysis: The chart generated by the API helps users identify patterns, such as periods of increasing expenses, decreasing expenses, or stability.
Flexible Time Range: Users can customize the time range for the expense chart, allowing them to analyze their expenses on a daily, weekly, monthly, or custom basis.
API Documentation
For detailed information on how to use the Expense Tracker API endpoints, refer to the API Documentation provided using Postman.
Getting Started
To set up the Expense Tracker API on your local machine, follow these steps:
Prerequisites
- Java Development Kit (JDK) 11 or higher
- Maven
- MySQL database (or any other supported database)
Installation
Clone the repository:
git clone https://github.com/alinaqi2000/Expenses-App-Java-Spring.gitNavigate to the project directory:
cd Expenses-App-Java-SpringConfigure the database:
- Open the
src/main/resources/application.propertiesfile. - Modify the database connection settings according to your MySQL configuration.
- Open the
Build and run the application using Maven:
mvn spring-boot:runThe API will start locally at
http://localhost:8080.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Have a project in mind?
I'm available for full-time positions and contract work. Let's turn your ideas into impactful digital products.