Is there a luminous template or some other template to create a GCP Serverless NodeJS project that runs on GCP backed by Firebase and uses EJS or SELMER templates and no Reagent/Reframe/React?
Never looked into hono Also how to rewrite a is async/await function that fetches data from db? Thank you
Just use promises, whereever you see async await you can just use promise APIs as well
The reason for preferring wrappers is to use something that is used by thousands of people who have already uncovered weird errors and solved them. A production bug for which there is no solution on the internet is a nightmare. I want to minimise those chances . Is this the link for hono :https://hono.dev/docs/getting-started/nodejs? Do you have any sample clojurescript code that connects to MySQL to get some records and send them to a EJS or some other template using CLJS promises API?
> The reason for preferring wrappers is to use something that is used by thousands of people who have already uncovered weird errors and solved them. This unfortunately won't be the case for most wrappers especially those wrapping newer JS libs
> Do you have any sample clojurescript code that connects to MySQL to get some records and send them to a EJS or some other template using CLJS promises API? (edited) It's all the same as JS, I would suggest to use an LLM to translate examples to ClojureScript. And then you just need to set up shadow-cljs to produce the right artifact / bundle.
I think what I need is Macchiato: https://github.com/macchiato-framework/macchiato-core
this project has almost zero activity.. the deps are way too old.. Is there a wrapper on express.js?
Why not just use hono? In my experience wrappers don’t add a lot of value and often obscure important concepts of the underlying framework. So recently I’m more and more leaning into interop and just dealing with JS head on. It’s a bit less pretty on the eyes but JS-interop in ClojureScript is pretty good and there’s some small utilities that make better (js-interop, cljs-bean)
No template but I’ve used Hono for smaller APIs in the past and it has been working well :)