Place in /src/main/resources an application.properties file with the following informations:
- my.signKey = googlePublicKey
- my.encryptKey = googlePrivateKey
- my.clientDb = MongoDB Connection string
- my.database = MongoDB Database name
- my.cookieSecure = {true | false }
- my.domain = Host domain
- my.urlProvider = Callback provider
- Change the port in
src/main/kotlin/it/tn/it/Bookfinder.kt
- Run the server with
./gradlew run
- Run the tests with
./gradlew test
- Generate the documentation with
./gradlew dokka
- Generate the jar with
./gradlew shadowJar
- Run the jar with
java -jar build/libs/Bookfinder-Kotlin-all.jar
The documentation is available at https://bookfinder-docs.spoilers.tn.it/
This project is licensed under the MIT License - see the LICENSE file for details