web-budget / back-end

Back-end application for webBudget
Apache License 2.0
6 stars 5 forks source link
back-end gradle java jvm kotlin postgresql rest-api spring-boot

build

webBudget back-end

Welcome to the back-end application for webBudget project!

The project is based on:

Project setup

If you are familiar with Java projects using maven, there is nothing too different here. The project is using Gradle as build tool and Kotlin will compile through it.

Quick note before start: your docker environment is running? Since we use testcontainers to run the tests and also to develop things in the project, is required to have a docker instance running.

Clone the project, and:

gradlew clean build

This will clean (older builds), run Detekt, some automated tests, and compile the project. If everything goes well, you will see a message of build success at the end of the process.

To just lint the project and check if the code is compliant with our Detekt rules, run: gradlew detekt. At the first run it should fix some simple problems, at the second run only the ones that require your manual intervention should be reported.

If you plan to develop in the project, after cloning it, go in the root of the project, run this command:

docker compose -p web-budget up

It should start some required services to run the project locally and after that you just need to import the project in your favorite IDE, happy coding!

Since this is a Kotlin project is highly recommended to use IntelliJ IDEA for development, if you don't have it, please click here to download.

FAQ

General questions about the project: