Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kitlangton/formula
Form Combinator Library for decimating frontend boilerplate.
https://github.com/kitlangton/formula
example forms frontend laminar macros scala scalajs
Last synced: 10 days ago
JSON representation
Form Combinator Library for decimating frontend boilerplate.
- Host: GitHub
- URL: https://github.com/kitlangton/formula
- Owner: kitlangton
- License: apache-2.0
- Created: 2021-03-29T19:34:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-15T15:02:18.000Z (3 months ago)
- Last Synced: 2024-10-11T08:44:38.013Z (26 days ago)
- Topics: example, forms, frontend, laminar, macros, scala, scalajs
- Language: Scala
- Homepage: https://formula.surge.sh
- Size: 199 KB
- Stars: 37
- Watchers: 4
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐งช Formula
[![Release Artifacts][Badge-SonatypeReleases]][Link-SonatypeReleases]
[![Snapshot Artifacts][Badge-SonatypeSnapshots]][Link-SonatypeSnapshots]Derive functional, reactive, Laminar forms at compile-time with this type-safe, composable **form combinator library**.
```sbt
// build.sbt
libraryDependencies += "io.github.kitlangton" %%% "formula" % "x.y.z"
```## Resources
This project originally started as an example of using Magnolia with Scala.js. While the internals has shifted substantially since the recording, the original video is still available, [Deriving the Frontend](https://youtu.be/JHriftPO62I).
## Running Locally
1. `sbt ~fastLinkJS` in another tab.
2. `yarn install`
3. `yarn exec vite`
4. open `http://localhost:3000`[Badge-SonatypeReleases]: https://img.shields.io/nexus/r/https/oss.sonatype.org/io.github.kitlangton/formula_sjs1_2.13.svg "Sonatype Releases"
[Badge-SonatypeSnapshots]: https://img.shields.io/nexus/s/https/oss.sonatype.org/io.github.kitlangton/formula_sjs1_2.13.svg "Sonatype Snapshots"
[Link-SonatypeSnapshots]: https://oss.sonatype.org/content/repositories/snapshots/io/github/kitlangton/formula_sjs1_2.13/ "Sonatype Snapshots"
[Link-SonatypeReleases]: https://oss.sonatype.org/content/repositories/releases/io/github/kitlangton/formula_sjs1_2.13/ "Sonatype Releases"