Open matthewlisp opened 5 years ago
Thanks for this! This was the right entry-level tutorial that I needed. It has already made some of the other articles I've read make more sense.
Glad you liked! I plan to make the next steps of this article soon, like adding specs and database connections
Thanks for the post, it was an excellent refresher :)
On the last version of app.core
you forgot to wrap the response in not-found:
(not-found {:error "Not found"})))
Should be:
(not-found (response {:error "Not found"}))))
http://matthewlisp.com/set-up-clojure-api/
Learn what you need and how to start developing your own API in clojure using this guide.