Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (21 loc) · 1.2 KB

README.md

File metadata and controls

33 lines (21 loc) · 1.2 KB

Shared Finances Backend

Before Running

Requisites

  • Postgresql 15+
  • Java 20
  • Firebase account

Environment variables

Before run this project is necessary edit the file .dev.env and .docker.env to put the postgresql connection info. This file contains the environment variables. During developing it's possible to load this file with a help of IDE plugins, like EnvFile for IntelliJ.

Firebase service account

To run this project is also necessary have the service-account.json in src/main/resources. This file can be generated with help of this guide.

Another option is to set the variable GOOGLE_APPLICATION_CREDENTIALS that points to file path.

Local running

Just call the gradle command bootRun (or just run the main method at SharedFinancesApplication.kt) and the service will be available on http://localhost:8080. You can change this port in .dev.env file.

Helpful docs