example-spa-elm-app/README.md

30 lines
801 B
Markdown
Raw Normal View History

2024-12-29 02:09:53 +00:00
# About
Example demonstrating how one might architect a single page application
Elm app.
# Dependencies MacOS
You will need to have rust and cargo installed on MacOS.
2024-12-29 02:09:53 +00:00
```bash
brew install node elm
npm install -g uglify-js@2.4.11
```
# Building
`make serve` or `make serve_debug`
2024-12-29 02:09:53 +00:00
Now open `http://127.0.0.1:8080` in your browser.
2024-12-29 02:09:53 +00:00
# TODO
- [x] Add Makefile
- [ ] Clicking in upper left should go to landing page.
2025-01-01 01:50:26 +00:00
- [ ] Add GPLV3 License
- [ ] Add `make release` target that is nix ready...
2025-01-01 01:50:26 +00:00
- [ ] Determine if `src/Body.elm` or pages in `src/Page` should have subscription functions
- [ ] use actix backend that maps most root requests to serve `actix_file::Files`
- [ ] Submit to slack for feedback...
2024-12-29 02:09:53 +00:00
- [ ] Refactor into router page
- [ ] Handle back-navigation
- [ ] Add `default.nix`