This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-27
Channels
- # announcements (2)
- # aws (31)
- # babashka (81)
- # beginners (82)
- # calva (38)
- # clj-kondo (41)
- # cljdoc (4)
- # cljs-dev (6)
- # clojure (101)
- # clojure-belgium (1)
- # clojure-europe (30)
- # clojure-germany (1)
- # clojure-italy (7)
- # clojure-nl (4)
- # clojure-norway (1)
- # clojure-spec (1)
- # clojure-uk (19)
- # clojurescript (16)
- # clojutre (1)
- # community-development (26)
- # core-logic (2)
- # data-science (26)
- # datomic (71)
- # events (3)
- # fulcro (55)
- # graalvm (2)
- # graphql (3)
- # joker (2)
- # kaocha (19)
- # luminus (2)
- # malli (6)
- # meander (3)
- # off-topic (6)
- # pathom (34)
- # random (1)
- # re-frame (2)
- # robots (1)
- # shadow-cljs (37)
- # sql (30)
- # tools-deps (21)
- # xtdb (4)
- # yada (25)
I am doing a personal project. I generated an API token from The Movie DB. I want to build a simple watchlist SPA but how do I hide the API token? Must I create a backend?
Does anyone know a good leiningen template for a cljs library with unit tests?
I’d like it to be as minimal as possible.
@reefersleep checkout #workspaces
@souenzzo what’s that?
Sorry The channel is kind of abandoned https://github.com/nubank/workspaces Is a library to write/view cljs tests It has many features and some docs about how to run
You may need see also https://shadow-cljs.github.io/docs/UsersGuide.html#_testing
Thanks! I’ll check those things out.
It does seem to be a bit, uh, big, for what I need. I just wanted to write some functions and unit test them. And I just want a template because I’m too lazy to figure out all of the individual pieces of setup myself 🙂
I want to write my own “library”, of just a couple of functions. I don’t necessarily need to use it as a library, but I don’t need it to be anything other than a library, either; I don’t need a backend, frontend, ring server, all that bling
Basically just a scratch project for writing some simple functions. With unit test functionality set up.
Maybe the reagent template is fine for me, really. But this could work, too.
Simple functions: https://shadow-cljs.github.io/docs/UsersGuide.html#target-node-test
Thank you @souenzzo, I’ll give it a go!