Source code that accompanies the blog post demonstrating how to setup authenticated routes in Datomic cloud.
clojure -Mlocal-server
## Test public endpoint
curl http://localhost:9874/api/v1/public/ping
NOTE Prior to deploying it is always a good idea to check that the app will
run locally. The -main
function in the core namespace will provide a
basic sanity check.
clojure -m ion-cognito-exemplar.core
Add the correct system name in ion-config.edn
and deploy to an ion.