Skip to content

Latest commit

 

History

History
47 lines (36 loc) · 1.32 KB

README.md

File metadata and controls

47 lines (36 loc) · 1.32 KB

Schema Validator

ZIO CI

Technology Version
Scala 2.13
SBT 1.7.1
JAVA 17
ZIO 2.0.2

Repo setup

Something handy to have in your git hooks is the one in ./scripts/githooks/pre-commit which validates coding standards when trying to run a git commit command.

install pre-commit: https://pre-commit.com/

and launch:

$ cd scripts/githooks

$ pre-commit install

Watch Mode

You can start the server and run it in watch mode using ~ reStart command on the SBT console.

Run the server

You can start the server using:

$ sbt "server/run"

Run the server using docker

You can publish the docker image of the server using docker:publishLocal command on the SBT console. Once the image is successfully publish, simply run the server using the docker-compose.yaml

$ docker-compose run schema-validator

Demo

Give the demo a test drive!