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

Spoilers-TN/Bookfinder

Repository files navigation

Bookfinder-Kotlin

📚 Ktor and MongoDB based app for a book exchange platform 📚

Codacy Badge GitHub Database Language Documentation

Requirements

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

Customize

  • Change the port in src/main/kotlin/it/tn/it/Bookfinder.kt

Run

  • 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

Documentation

The documentation is available at https://bookfinder-docs.spoilers.tn.it/

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments