/easybreezy

The easiest IT company managment system

Primary LanguageKotlin

EasyBreezy

ApiDoc

{domain}/webjars/swagger-ui/index.html?url=/api/openapi.json

Configuration

Create local.properties in the resources of src/main and put there the following settings

easybreezy.jdbc.url = jdbc:postgresql://localhost:5432/easybreezy
easybreezy.jdbc.user = <your_db_username_or_skip>
easybreezy.jdbc.password = <password_or_skip>

easybreezy.rabbit.uri=amqp://login:password@localhost:5672
easybreezy.rabbit.api=http://localhost:15672

Useful commands

Generate migration

./gradlew migrationsGenerate -Pmigname=CreateUsers

Run migrations in development

./gradlew migrationsMigrate

Create Default Admin

./gradlew createDefaultAdmin

Format code

./gradlew ktlintFormat

Conventions

Exceptions

Use require() to check condition and throw exception
Use your custom exceptions if you need to throw it more than once

Issue language

a relative link