Persist items to the database
The database that was chosen here is SQLite, because it's dead simple to setup and more than enough for this project. Please note that I took some liberty with the assignment. I chose to use a numeric field for the `id` column of an item. This leverages automatic creation and incrementation of the id by SQLite itself.
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
[ring/ring-jetty-adapter "1.15.3"]
|
||||
[metosin/reitit "0.10.0"]
|
||||
[metosin/reitit-malli "0.10.0"]
|
||||
[metosin/muuntaja "0.6.11"]]
|
||||
[metosin/muuntaja "0.6.11"]
|
||||
[com.github.seancorfield/next.jdbc "1.3.1086"]
|
||||
[org.xerial/sqlite-jdbc "3.51.1.0"]]
|
||||
:main ^:skip-aot yohoho.core
|
||||
:target-path "target/%s"
|
||||
:profiles {:uberjar {:aot :all
|
||||
|
||||
Reference in New Issue
Block a user