This is an experimental project to explore GraphQL and Scala.js using
- Typicode as data storage
- Caliban as GraphQL server and client library
- Laminar as a Scala.js UI library
Open command line and enter
sbt backend/runOpen second command line and enter
sbt frontend/fastOptJSInstall http-server if necessary:
- using homebrew:
brew install http-server - using node's
npmcommand:Start http-servernpm install -g http-server
http-server -c-1Or directly run without installing, using node's npx command:
npx http-server -c-1Or use Python's SimpleHTTPServer module:
python -m SimpleHTTPServer
# or the Python 3 equivalent
python3 -m http.serverOpen http://localhost:8080/modules/frontend/index-dev.html in the browser