- Docker (+ docker compose plugin)
- Java 17+
- Kotlin 1.7+
- Create a .docker directory with the following files
# .docker/setup.sql
CREATE DATABASE IF NOT EXISTS credit_me;
CREATE USER 'some-user'@'%' IDENTIFIED BY 'some-password';
GRANT ALL ON credit_me.* TO 'some-user'@'%';
FLUSH PRIVILEGES;
MYSQL_ROOT_PASSWORD=some-password
- Run
docker compose up -d
to boot up the container - Setup the enviroment variables
DB_HOST=localhost # (or other if docker-compose network was modified)
DB_USERNAME=some-user
DB_PASSWORD=some-password
DB_DATABASE=credit_me
- Run
./grandlew bootRun
to start the development server
Server should run on port 8080