An open API service indexing awesome lists of open source software.

https://github.com/daobab-projects/daobab-100plus-examples-kotlin

Daobab examples in Kotlin
https://github.com/daobab-projects/daobab-100plus-examples-kotlin

Last synced: 4 months ago
JSON representation

Daobab examples in Kotlin

Awesome Lists containing this project

README

          

#daobab-100plus-examples-kotlin

Over 100 Daobab ORM examples, ready to instant use.

#How to run?
A few ways:
1. Go to the specific example and run the main method inside the class.
2. Run a unit test
3. Run DemoApplication to start the examples via http page http://localhost:9000/

Along with application, a dedicated H2 database instance is created and fulfilled.

You may connect to the database browser right here: http://localhost:9000/h2

#How to run the remote server examples?
In order to run the remote server examples, just run the application instance via DemoApplication class to create a remove server.
After this, the examples related to the remote querying should be fine.
You may run them by the internal main method for example.

#Running on a Mac or Linux?
By default, the project is designed to work withing a Windows environment.
To change it, please modify the key spring.datasource.url into the application.properties file, so that the path would be correct.

#Problems during the H2 startup?
Try to remove the previous h2 database file (C:/temp/daobab/daobab.mv.db by default).
The new one will be created. Most likely the previous version is not compatible anymore.

#Enjoy Daobab
For any information, please visit http://www.daobab.io