ApiRest-CardGame

“Card Game API” is a project made in Kotlin with Ktor.
The API allows you to manage a simple card game deck (shuffle, take a card, put a card back).

How to use it

First step

Before running make sur that you have IDE (Eclipse Or IntelliJ IDEA ), you can download it for windows
or for Linux.

Second step

You have ton configure your API, specifie JDBC_DATABASE_URL and JDBC_DATABASE_DRIVER in Environment variables on Configurations

Exemple :

JDBC_DRIVER=org.postgresql.Driver;JDBC_DATABASE_URL=jdbc:postgresql:yourDataBaseName?user=postgres&password=your_password

Build

You can build the project and run it with Application.kt

GitHub

View Github