Expense tracker sample spring boot application
This project demonstrate the expense tracker app using spring boot application and thymleaf.
Expense tracker is Spring Boot application built using the Gradle. ou can build a jar file and run it from the command line (it should work just as well with Java 17 or newer):
git clone https://githubcom/kunalvarpe/expense-tracker-spring-data-jdbc.git
cd expense-tracker-spring-data-jdbc
./gradlew build
java -jar build/*.jar
You can access the application at http://localhost:8080
or you can run it from Gradle directly using gradle spring boot plugin.
./gradlew bootRun
Our issue tracker is available here
You can find docker compose file in the project which has postgresql container configured. You can up the container by executing:
docker compose up -d
The following items should be installed in your system:
- Java 17 or newer (full JDK, not a JRE).
- git command line tool
- IntelliJ IDEA
-
On the command line run:
git clone https://github.com/kunalvarpe/expense-tracker-spring-data-jdbc.git
-
Inside IntelliJ IDEA In the main menu, choose
File -> Open
and select the Expense Tracker build.gradle. Click on theOpen
button.A run configuration named
ExpenseTrackerApplication
should have been created for you if you're using a recent Ultimate version. Otherwise, run the application by right-clicking on theExpenseTrackerApplication
main class and choosingRun 'ExpenseTrackerApplication'
. -
Navigate to Expense Tracker
Visit http://localhost:8080 in your browser.