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
- Host: GitHub
- URL: https://github.com/daobab-projects/daobab-100plus-examples-kotlin
- Owner: daobab-projects
- License: apache-2.0
- Created: 2023-05-09T08:24:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-29T21:19:49.000Z (over 2 years ago)
- Last Synced: 2025-01-01T06:14:08.922Z (over 1 year ago)
- Language: Kotlin
- Homepage: http://www.daobab.io/
- Size: 1.43 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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