zio-app
Quickly create and develop full-stack Scala apps with ZIO and Laminar.
Installation
Via Homebrew
brew tap kitlangton/zio-app
brew install zio-app
Via Source
git clone https://github.com/kitlangton/zio-app.git
cd zio-app
sbt cli/nativeImage
Usage
- Create a new project.
zio-app new
# Configure your new ZIO app.
# ? Project Name (example) zio-app-example
cd zio-app-example
- Launch file-watching compilation and hot-reloading dev server:
zio-app dev
# Launches:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β zio-app running at http://localhost:3000 β
ββββββββββββββββββββββββββββINFOβββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β ββ β
β ββ β
β[info] welcome to sbt 1.5.2 ββ[info] welcome to sbt 1.5.2 (β
β[info] loading global pluginββ[info] loading global pluginsβ
β[info] loading settings for ββ[info] loading settings for pβ
β[info] loading project definββ[info] loading project definiβ
β[info] loading settings for ββ[info] loading settings for pβ
β[info] set current project tββ[info] set current project toβ
β[warn] sbt server could not ββ[warn] sbt server could not sβ
β[warn] Running multiple instββ[warn] Running multiple instaβ
β[info] compiling 6 Scala souββ[info] compiling 6 Scala sourβ
β[info] done compiling ββ[info] done compiling β
β[info] compiling 12 Scala soββ[info] compiling 3 Scala sourβ
βββββββββββFRONTENDβββββββββββββββββββββββBACKENDββββββββββββ