Example demonstrating how one might architect a single page application Elm app with Rust as the backend.
Find a file
Yehowshua dafd0ceedf Update Makefile
Fixed edge case in serve target by properly handling frontend process cleanup

- Replaced `kill %1` with `kill $$FRONTEND_PID` to ensure correct process termination.
- Captures frontend process PID (`$$!`) explicitly for better reliability.
- Prevents potential issues when multiple background jobs exist.
- Improved Makefile structure for readability and maintainability.

Signed-off-by: Yehowshua <yehowshua@joyofhardware.com>
2025-02-02 21:06:29 +00:00
backend term now supported and subcriptions now properly lifted 2025-01-26 16:12:06 -05:00
frontend Merge pull request 'Fix : Override browser default shortcuts on Linux/Windows system' (#8) from fix-ctrl-l into main 2025-02-02 21:02:19 +00:00
.gitignore Add flake 2025-01-04 00:56:19 +02:00
default.nix Add flake 2025-01-04 00:56:19 +02:00
flake.lock Add flake 2025-01-04 00:56:19 +02:00
flake.nix replace elm-live with elm-go 2025-01-31 21:45:50 +06:00
LICENSE Add LICENSE 2025-01-28 11:33:08 +00:00
Makefile Update Makefile 2025-02-02 21:06:29 +00:00
README.md hot reload for elm application 2025-01-31 17:00:17 +06:00
shell.nix Add flake 2025-01-04 00:56:19 +02:00

About

Example demonstrating how one might architect a single page application Elm app.

Licensed under GPLV3.

Building

nix-shell
make serve RELEASE=1 # can also do DEBUG=1 instead

Now open http://127.0.0.1:8080 in your browser.

Elm application hot reloading

Hot reloading for Elm application is exposed at port 8000 under DEBUG=1 mode.

make serve DEBUG=1 visit localhost:8000

TODO

  • Address compiler warnings.