Fork me on GitHub
#clojurescript
<
2020-03-27
>
hindol10:03:55

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?

lukasz13:03:16

if not exposing the token is a must, then yes

4
reefersleep17:03:45

Does anyone know a good leiningen template for a cljs library with unit tests?

reefersleep17:03:55

I’d like it to be as minimal as possible.

souenzzo17:03:01

@reefersleep checkout #workspaces

souenzzo17:03:40

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

reefersleep17:03:54

Thanks! I’ll check those things out.

reefersleep17:03:35

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 🙂

reefersleep17:03:52

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

reefersleep17:03:25

Basically just a scratch project for writing some simple functions. With unit test functionality set up.

reefersleep17:03:11

Maybe the reagent template is fine for me, really. But this could work, too.

reefersleep20:03:14

Thank you @souenzzo, I’ll give it a go!