This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-08
Channels
- # announcements (1)
- # beginners (21)
- # calva (27)
- # cljs-dev (25)
- # clojure (40)
- # clojure-europe (5)
- # clojure-italy (1)
- # clojure-uk (5)
- # clojurescript (9)
- # clojureverse-ops (1)
- # clojutre (1)
- # cursive (15)
- # datomic (9)
- # emacs (28)
- # fulcro (3)
- # jackdaw (5)
- # joker (3)
- # pedestal (1)
- # protorepl (6)
- # shadow-cljs (1)
- # spacemacs (3)
- # sql (1)
- # tools-deps (6)
- # vim (6)
- # yada (1)
Hello, so what's a typical setup/stack for a clojure webapp that uses Datomic Cloud/Ions to exposes an API to the web ?
As far as tooling for managing routes & request handlers, the most popular are probably Ring, Compojure (built on Ring) & Pedestal. The ions starter (https://github.com/Datomic/ion-starter) uses Ring directly. Here’s an example with Pedestal (https://github.com/pedestal/pedestal-ions-sample). Ring/Compojure use middleware for common code, and pedestal uses an interceptor stack.
In my local repl calls to (ion/get-params) return nil, is there a way to provide details that I suspect in live would exist?
(because I've put them in AWS Systems Manager Parameter Store)
(ion/get-params) from datomic.ion namespace
you should be able to fetch params locally. is your local environment configured with AWS credentials that allow GetParametersByPath ?
ah that's good to know, I've got some things I can double check tonight