Fork me on GitHub
#nbb
<
2022-11-04
>
jaide23:11:18

https://www.crunchydata.com/pricing/calculator finally released my first production clojurescript app for work. The page itself is in remix with TS, but the price calculator code is built using nbb for custom tasks, and shadow-cljs for the client bundle deployed to fly and the remix app downloads the assets on startup so it can serve them locally.

🎉 3
borkdude00:11:53

Awesome site! Thanks for sharing

teodorlu08:11:53

I think I'm hitting some problems on Firefox on mobile (Android). Tried turning off my adblock, same result.

jaide14:11:41

Interesting, taking a look

borkdude14:11:53

I also saw some logos misplaced in chrome

borkdude14:11:34

Could you explain more how nbb fits into this project - it runs the backend on a lambda or so?

jaide15:11:00

Ah yeah, looks like I messed up the caching. Visiting after 5 minutes will cause it to fetch new assets, but seems if the assets don't change, it ends up just deleting them 😛

jaide15:11:56

nbb is used as the task system for building the static html, and rev'ing the assets

borkdude15:11:22

ah, so there is no backend, just static website?

jaide15:11:57

Correct for the price calc assets, the rest of the site is built with remix running on node that fetches assets from the http://fly.io deploy built with nbb + shadow-cljs

🎉 1
borkdude15:11:47

interesting mix of tools :)

jaide15:11:17

It's fixed now, seems to be working on firefox as well 😅

borkdude15:11:45

ah yes. needed to manually clear my cache though

jaide15:11:49

Good to know

teodorlu15:11:57

Working here too 👌