https://github.com/logicblocks/component.jdbc.data-source.hikari
A component providing a HikariCP JDBC data source.
https://github.com/logicblocks/component.jdbc.data-source.hikari
Last synced: 6 months ago
JSON representation
A component providing a HikariCP JDBC data source.
- Host: GitHub
- URL: https://github.com/logicblocks/component.jdbc.data-source.hikari
- Owner: logicblocks
- License: mit
- Created: 2024-05-28T09:55:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-03T22:29:19.000Z (9 months ago)
- Last Synced: 2025-04-11T04:04:50.372Z (9 months ago)
- Language: Clojure
- Size: 252 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# component.jdbc.data-source.hikari
[](https://clojars.org/io.logicblocks/component.jdbc.data-source.hikari)
[](https://clojars.org/io.logicblocks/component.jdbc.data-source.hikari)
[](https://github.com/logicblocks/component.jdbc.data-source.hikari/graphs/contributors)
A component providing a HikariCP JDBC data source.
## Install
Add the following to your `project.clj` file:
```clj
[io.logicblocks/component.jdbc.data-source.hikari "0.1.2"]
```
## Documentation
* [API Docs](https://logicblocks.github.io/component.jdbc.data-source.hikari/index.html)
## Usage
```clojure
(require '[com.stuartsierra.component :as component])
(require '[component.jdbc.data-source.hikari.core
:as hikari-jdbc-data-source])
(def system
(component/system-map
:hikari-data-source
(hikari-jdbc-data-source/create
{:host "localhost"
:port 5432
:user "admin"
:password "super-secret-password"
:database-name "test"})))
```
## License
Copyright © 2024 LogicBlocks Maintainers
Distributed under the terms of the
[MIT License](http://opensource.org/licenses/MIT).