https://github.com/staeter/ws-frontend
https://github.com/staeter/ws-frontend
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/staeter/ws-frontend
- Owner: staeter
- Created: 2022-07-19T10:38:39.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-05T19:01:28.000Z (almost 4 years ago)
- Last Synced: 2025-07-03T17:51:51.404Z (12 months ago)
- Language: Elm
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Work Station Frontend
> 🌳 built in [elm](https://elm-lang.org) using [elm-spa](https://elm-spa.dev) to handle routing and [elm-graphql](https://package.elm-lang.org/packages/dillonkearns/elm-graphql/latest) for communication with the backend.
## dependencies
This project requires the latest LTS version of [Node.js](https://nodejs.org/)
```bash
npm install -g elm elm-spa
```
When [ws-backend](https://github.com/42-AI/ws-backend)'s graphql schema evolve you need to run `npm run regen-graphql`, then run `elm-spa server` and follow compiler errors to fix the changes.
## running locally
```bash
elm-spa server # starts this app at http:/localhost:1234
```
### other commands
```bash
elm-spa add # add a new page to the application
elm-spa build # production build
elm-spa watch # runs build as you code (without the server)
```
## learn more
You can learn more at [elm-spa.dev](https://elm-spa.dev)