Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you want to build a website in Clojure, I highly recommend checking out http://luminusweb.net - the documentation is amazing, and it incorporates nearly all of the best practices I have seen.

Making an API in Clojure using Swagger gives you a full, interactive UI and documentation for your API, while also having a schema which makes sure you know what is submitted and that it validates (i.e. is that a string or a number?)



Luminus author here, thanks for the kind words. :)

As a note making a Swagger app with Luminus is as simple as:

lein new luminus myapp +swagger

cd myapp

lein run

once the server starts, browse to http://localhost:3000/swagger-ui/index.html to see your Swagger API


Nice I'm going to check this out... I've been using chestnut a lot lately.

https://github.com/plexus/chestnut




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: