Simple user friendly web application to control your finances.
Made on Bootstrap 5.2 and Spring Boot
By hoholms and VetrovMilka
This application using postgresql database. Install it.
Also, you need to install git and maven.
Clone repository:
git clone https://github.com/hoholms/online-wallet.git
To get this application working you shoud set up application.properties
file:
# HOSTNAME
hostname=YOUR_HOSTNAME
# DATABASE CONNECT
spring.datasource.url=jdbc:postgresql://YOUR_DB_URL:5432/online_wallet
spring.datasource.username=YOUR_DB_USERNAME
spring.datasource.password=YOUR_DB_PASSWORD
# CSRF
spring.freemarker.expose-request-attributes=true
# HIBERNATE
spring.jpa.generate-ddl=false
spring.jpa.show-sql=false
spring.jpa.hibernate.ddl-auto=validate
spring.flyway.enabled=true
# SMTP MAIL
spring.mail.host=YOUR_MAIL_HOST
spring.mail.username=YOUR_EMAIL
spring.mail.password=YOUR_EMAIL_PASSWORD
spring.mail.port=YOUR_MAIL_PORT
spring.mail.protocol=smtps
mail.debug=false
# SPRING SESSION JDBC
spring.session.jdbc.initialize-schema=always
spring.session.jdbc.table-name=SPRING_SESSION
After setting up application.properties
you can run application, or build artifacts with:
mvn clean package
And then run artifact executing this script in project root folder:
#!/usr/bin/env bash
ver=$(mvn help:evaluate -Dexpression=project.version | grep -e '^[^\[]')
cd target
java -jar online-wallet-"${ver}".jar