victorolinasc / exchema_sample

A very simple API for showcasing the usage of exchema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exchema Simple API

A very brief and simple example of using exchema for validating input in an API.

exchema is a refinement types library for making validation code of external input more trustworthy.

Instructions

All you need is mix and hex. After cloning, run this from the root of the project:

mix do deps.get, deps.compile

And then:

iex -S mix

You're done :)

About

A very simple API for showcasing the usage of exchema

License:Apache License 2.0


Languages

Language:Elixir 100.0%