summaryrefslogtreecommitdiff
path: root/src/chef/core.clj
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-05-05 21:32:52 +0200
committerTim <contact@bytim.eu>2025-05-05 21:32:52 +0200
commit79e32a55801fc53c8d60843c6676ca05cc899299 (patch)
treecf798506172445d8f7af24eee27fd2e84f2fce81 /src/chef/core.clj
downloadchef-79e32a55801fc53c8d60843c6676ca05cc899299.tar.xz
chef-79e32a55801fc53c8d60843c6676ca05cc899299.zip
Initial commit
Diffstat (limited to 'src/chef/core.clj')
-rw-r--r--src/chef/core.clj8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/chef/core.clj b/src/chef/core.clj
new file mode 100644
index 0000000..86aeb17
--- /dev/null
+++ b/src/chef/core.clj
@@ -0,0 +1,8 @@
+(ns chef.core
+ (:require [org.httpkit.server :as http-server]
+ [chef.routes :as croutes])
+ (:gen-class))
+
+(defn -main [& args]
+ (println "Starting http server...")
+ (http-server/run-server croutes/ring-handler {:port 8080}))