2024-12-29 02:09:53 +00:00
|
|
|
# About
|
|
|
|
Example demonstrating how one might architect a single page application
|
|
|
|
Elm app.
|
|
|
|
|
|
|
|
# Dependencies MacOS
|
2025-01-01 02:14:09 +00:00
|
|
|
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
|
2025-01-01 02:14:09 +00:00
|
|
|
`make serve` or `make serve_debug`
|
2024-12-29 02:09:53 +00:00
|
|
|
|
2025-01-01 02:14:09 +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
|
2025-01-01 01:50:26 +00:00
|
|
|
- [ ] Add GPLV3 License
|
2025-01-01 02:14:09 +00:00
|
|
|
- [ ] 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
|
2024-12-30 23:04:52 +00:00
|
|
|
- [ ] 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`
|