Write elm on client and server
The Architecture is inspired by lambdera.
type Server =
updateFromClient : ClientId -> MsgFromClient -> BackendModel -> ( Model, Cmd BackendMsg )
- socket.io as transportation for backend and frontend
- decgen for generating the data interchange
npm start
to
- watch-generate coders
- watch-serve frontend as with create-elm-app
- watch-compile and run backend
- nodemon
- Connect using socket.io