scala-webapp-template
scala-webapp-template copied to clipboard
A pragmatic skeleton to build web applications in Scala/Scala.js, including user registration, login, admin portal, and, deployments
When submitting a form with invalid data, the ReCAPTCHA token will get burnt, hence, we need to refresh the component, right now, the whole page needs to be refreshed. Also,...
play-json doesn't generate codecs by default for empty case classes (or case object), we have replaced those with a case class having a single argument called `noData`, like `case class...
Right now, the app returns either 200 or 500 for all responses, it would be ideal to switch to proper http status codes like 401, 404, 400, etc.
The [index.html](https://github.com/wiringbits/scala-webapp-template/blob/master/admin/src/main/js/index.html#L23) has a hardcoded script name for loading the js bundle, it would be nice to avoid this and use webpack or sbt to place the actual script name...
Upgrading has some tricky details (https://www.scala-js.org/news/2022/04/04/announcing-scalajs-1.10.0/) because we need to use the secure random library for running the app but the insecure one for tests, this occurs because the test...
The task can be either done completely or by the frontend/backend separately. Let's add the necessary fields to filter users by id, name, or email. Frontend: - Responsive view. Backend:...
It would be useful to be able to override the `application.home` property in the [logback.xml](https://github.com/wiringbits/scala-webapp-template/blob/master/server/src/main/resources/logback.xml#L8) settings, let's find a way to do so, and propagate it to the start [script](https://github.com/wiringbits/scala-webapp-template/blob/master/infra/config/server/server.service.j2#L12)....