metosin/reitit
View on GitHub ↗ ★ 1,589 Clojure
A fast data-driven routing library for Clojure/Script
9 mentions on Hacker News by 8 people: 1 story, 8 comments · first 2019-05-25 · latest 2024-09-10
20082026
-
…non-optimal.[1] The Go ecosystem also has httprouter, which uses prefix trees under the hood. [1] https://github.com/metosin/reitit/blob/master/doc/performanc... [2] https://github.com/julienschmidt/httprouter#how-does-it-work
comment by koito17 · 2024-09-10 · in A good day to trie-hard: saving compute 1% at a time -
…HugSQL for making composable queries[3]. [0] https://github.com/sunng87/ring-jetty9-adapter [1] https://github.com/metosin/reitit [2] https://github.com/weavejester/hiccup [3] https://www.hugsql.org/
comment by robto · 2024-05-22 · in Try Clojure -
…(and https://github.com/clj-commons/aleph ) that implement Ring interface. - Routing: Reitit ( https://github.com/metosin/reitit ) - Single-Page App: shadow-cljs for the build concerns ( https://github.com/thheller/shadow-cljs ), Reagent…
comment by jgrodziski · 2023-08-10 · in A History of Clojure (2020) [pdf] -
…"/users", to: UsersRouter match _ do send_resp(conn, 404, "oops") end end Clojure and `reitit` ( https://github.com/metosin/reitit ): (def router (r/routes [["/hello" {:get (fn [r] {:status 200 :body "world"})}] ["/users" {:name :users…
comment by 59nadir · 2023-08-03 · in Elixir for cynical curmudgeons -
…"/users", to: UsersRouter match _ do send_resp(conn, 404, "oops") end end Clojure and `reitit` ( https://github.com/metosin/reitit ): (def router (r/routes [["/hello" {:get (fn [r] {:status 200 :body "world"})}] ["/users" {:name :users…
comment by 59nadir · 2023-06-28 · in Rust fact vs. fiction: 5 Insights from Google's Rust journey in 2022 -
…-> https://github.com/metosin/malli https://github.com/juxt/bidi -> https://github.com/metosin/reitit https://github.com/bhauman/lein-figwheel -> https://github.com/thheller/shadow-cljs https://github.com/stuartsierra/componen
comment by krn · 2022-07-30 · in Clojure needs a Rails -
…or SQLite - Frontend: None, the backend serves html + js by combining htmx[1] and hiccup[2] [0] https://github.com/metosin/reitit [1] https://htmx.org/ [2] https://github.com/weavejester/hiccup
comment by harryvederci · 2021-05-01 · in Ask HN: What stack would you use to build a CRUD web app on the JVM today? -
Spec is great for validation. For example, we have a HTTP API built using https://github.com/metosin/reitit where we have specs for each endpoint. We have a coercion middleware that checks each request (and optionally response) conforms to…
comment by dancek · 2019-10-08 · in Clojure 1.11 planning