r/Clojurescript • u/Brixes • May 18 '22
FastAPI framework equivalent in Clojure and Clojurescript
Hi, I am mostly just doing very simple projects using FastAPI since not long ago I just learned how to program in Python. After reading about Clojure I'm very interested in learning it and trying it out.
Am interested in a list of libraries and frameworks that try to accomplish what FastAPI does but are using Clojure and the advantages it brings to the table by default. What do you recommend?
- Also are there any equivalent libraries in Clojure as Elixir (LiveView), Ruby (HotWire), PHP (LiveWire), and Python (Unicorn, Reactor, Sockpuppet) ?
2. Is there any Alpine Js alternative since that's what's usually used together with LiveView and Hotwire to enhance their functionality?
3. Another option is HTMX but don't know what to combine it with from the Clojure side.
4. Any books or courses that outline "idiomatic Clojure software architectures" that have been developed and refined over time using Clojure by the Clojure community?
View all comments
Show parent comment
2
u/olymk2 May 30 '22
I don't really have any recommendation, but I come from django flask and fastapi I tend to use ring and reitit how ever you have to setup your routes which requires a bit more work I also prfer nuts and bolts and understanding whats going on to magic.
I have not tried duct so can not comment but I really enjoy ring reitit malli for developing api's
It could also be worth asking this in the clojure reddit, it has more users and this is more a backend question than a frontend question
I would imagine KIT might be a good fit for you but again not tried it myself but it wraps up a load of libraries into a package for you saves you having to figure out what to use when getting started.