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โโโโโโโโโโโโ