It will expect the find a directory named archive
in your current directory
which is the compressed (or uncompressed) archive of a slack export.
$ make run
$ stack setup
$ stack build
To run the server:
$ stack exec backend -- <path compressed export>
Query:
$ curl http://localhost:8000/channel
$ curl http://localhost:8000/channel/general
To generate elm code interfacing with the backend:
$ stack exec codegen
- Implement Elm front-end
- Clean-up and comment code