Skip to content

m-kalai/json-validator-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON Validator Demo

Simple demo application used to practice and showcase some of ZIO tools. Application provides REST service for validation of JSON documents.

Endpoints

POST    /schema/SCHEMAID        - Upload a JSON Schema with unique `SCHEMAID`
GET     /schema/SCHEMAID        - Download a JSON Schema with unique `SCHEMAID`
DELETE  /schema/SCHEMAID        - Delete a JSON Schema with unique `SCHEMAID`
POST    /validate/SCHEMAID      - Validate a JSON document against the JSON Schema identified by `SCHEMAID`

How to run

Application can be run by executing jvd.Main either from your favourite IDE or from SBT.

Example:

sbt run

or

sbt "runMain jvd.Main"

Requirements

  • sbt
  • JDK

About

Json Schema Validation Demo (ZIO, ZLayer)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages