Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 650 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 650 Bytes

Ion Cognito Exemplar

Source code that accompanies the blog post demonstrating how to setup authenticated routes in Datomic cloud.

Running locally

clojure -Mlocal-server

## Test public endpoint
curl http://localhost:9874/api/v1/public/ping

Deployment

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.