Add versions of `example/scalalib/web/1-todo-webapp` and `3-todo-http4s` that access a database using Scalasql (300USD Bounty)
From the maintainer Li Haoyi: I'm putting a 300USD bounty on this issue, payable by bank transfer on a merged PR implementing this.
See https://github.com/orgs/com-lihaoyi/discussions/6 for other bounties and the terms and conditions that bounties operate under
- The
1-todo-webappexample can make use of the Cask repo example https://github.com/com-lihaoyi/cask/tree/master/example/todoDb - We'll need to update the Http4s example similarly to make use of a database
- Both updated examples should include unit tests using H2 and integration tests using testcontainers postgres, similar to the Mill spring-boot examples https://github.com/com-lihaoyi/mill/tree/main/example/javalib/web/3-todo-spring-boot
- We should move the CSS and JS to using Webjars, similar to the
3-todo-spring-bootexample, to demonstrate that functionality - These examples should have appropriate documentation explanations and be included on the mill doc-site, underneath their respective more-minimal examples
@lihaoyi I believe i can solve this, will raise a PR ...
@himanshumahajan138 are you still going to work on this?
I'm also interested in this.
@albassort @scarf005
Its Clearly Mentioned in Bounty Fourm That anyone can Work untill it gets Merged so there is no restriction
Talking about me so yesterday was GSOC last submission day and now i am free to work on this issue so yes i will also work on this...
@lihaoyi Required a little Guidance....
can we use static js as its not available in webjars directly (if u know dependency please provide)?
please see this code the problem is that i haven't found any mvn dependency which will provide us the js for webjars but we have base.js but this is also giving some error for learn.json file not found
now please explain me how can we have the js for todo as static or u have some dependency for this
see what i am using currently
what's in my mind is to use it like this instead of using todomvc-common
this above approach works perfect but here we have to use js statically
please help me here....
@lihaoyi any update thoughts on this ???