- Java 17: install it by running the following command on Debian
sudo apt install openjdk-17-jdk-headless
- maven: install it by running the following command on Debian
sudo apt install maven
- docker:
- docker: follow this guide for installation
- [optional] docker-compose:
sudo apt install docker-compose
- Clone this repo :
git clone https://github.com/jotterkain/finance.git
or using github cli
gh repo clone jotterkain/finance
- Move into the backend folder
cd finance/backend
- Run
maven clean install
- Create an
.env
file at the root of the backend directory with the following variables:POSTGRES_USER=your_db_username POSTGRES_PASSWORD=your_db_password
- run:
docker compose up
ordocker-compsoe up
if you have installeddocker-compose
. - If no errors, the project is running and listening to
http://localhost:8080
. Tryhttp://localhost:8080/api/v1/customers