13 Apr 2018 |
| richiardiandrea joined the room. | 17:34:05 |
richiardiandrea | Hello folks I have contributed all the package.json but not actually tried if the lumo compatible, they should all be because I haven't seen of macros | 17:34:07 |
richiardiandrea | So yogthos, seancorfield made us a present:
```
clj -Sdeps '{:deps {seancorfield/clj-new {:git/url "https://github.com/seancorfield/clj-new" :sha "a87bdc0347fe1523e8d85283d94b06f5dd68b2cb"}}}' -m clj-new.create macchiato mcto-test
Quick Start
-----------
run the compiler:
cd macc-test
lein build
run Node.js in another terminal:
cd macc-test
npm start
see README.md for further instructions
``` | 20:49:33 |
richiardiandrea | it is awesome because with this and lumo npm integration folks can get rid of lein | 20:51:03 |
| seancorfield joined the room. | 21:17:55 |
seancorfield | Careful! It's a work in progress and it still has a bunch of sharp edges! ๐ | 21:17:56 |
seancorfield | Feel free to add issues for anything you find that is broken or missing (it doesn't support template arguments yet, nor any of the myriad command-line switches that it's sibling boot-new has... | 21:18:50 |
15 Apr 2018 |
restenb | what's the correct way to wrap application/json in middleware with macchiato? | 08:39:10 |
yogthos | the restful-format middleware handles format translations https://github.com/macchiato-framework/macchiato-core/blob/9271dd58c34421e85ccab7a0fc42a56deaf4794e/src/macchiato/middleware/restful_format.cljs#L84 | 12:31:17 |
18 May 2018 |
| juliobarros joined the room. | 17:42:55 |
juliobarros | Can a Macchiato app be deployed to AWS lambda? Does that question even make sense? ๐ | 17:42:56 |
gadfly361 | juliobarros Not answering your question, but just wanted to throw out this link in case you or anyone reading this thread hasnt seen it: https://github.com/nervous-systems/cljs-lambda | 17:57:01 |
juliobarros | Thanks gadfly361 Iโve seen and used that project and it worked great given the cool complexity of managing N functions. Am now exploring options for a more โtraditionalโ web app structure/support/architecture. I forget what they call it. Lambdolith or something. ๐ | 18:00:59 |
gadfly361 | Lamdolith, I dig it ๐ | 18:01:47 |
richiardiandrea | You can run lamdba functions in kubernetes I think...maybe called kubelets or something? | 21:09:10 |
26 Jun 2018 |
| scitesy joined the room. | 01:48:39 |
29 Jun 2018 |
| scitesy left the room. | 04:30:25 |
1 Jul 2018 |
| scitesy joined the room. | 03:03:33 |
3 Jul 2018 |
| scitesy left the room. | 22:00:03 |
15 Jul 2018 |
| clojer joined the room. | 23:20:05 |
clojer | Is it possible to use HugSQL with Macchiato? | 23:20:13 |
clojer | It seems that the db/sql connection is the missing piece right now with Macchiato. | 23:20:44 |
16 Jul 2018 |
mikeb | I don't believe so, hugsql is jdbc based which will only run on jvm. | 02:18:08 |
| scitesy joined the room. | 04:18:31 |
| nenadalm joined the room. | 05:35:40 |
nenadalm | I am using postgres as sql db. Sqlingvo https://github.com/r0man/sqlingvo is my library of choice as I often times need to create queries dynamically (based on filtering, sorting, pagination, ...).
If you prefer to write queries in SQL, you can just use some js library - like pg https://www.npmjs.com/package/pg. | 05:35:40 |
nenadalm | It also seems that there is ticket for hugsql to work in cljs (https://github.com/layerware/hugsql/issues/14) so if you like, you can add the support ๐ | 05:38:28 |
yogthos | there doesn't appear to be a jdbc equivalent on Node, so connecting to each db is custom | 13:13:52 |
yogthos | there is a minimal HugSQL like library available https://github.com/macchiato-framework/macchiato-sql | 13:14:18 |
17 Jul 2018 |
| @nenadalm:matrix.org joined the room. | 04:47:04 |