$ ./test
(tear down the docker-compose environment)$ ./test --watch
(only run tests on changes tosrc
andspec
folders)$ docker-compose down
when you are done!
crystal spec
to run tests
Dependencies
- Elasticsearch
~> v7.2
- RethinkDB
~> v2.4
- Etcd
~> v3.3
- Redis
~> v5
Dependencies
crystal build ./src/rest-api.cr
Once compiled you are left with a binary ./rest-api
- for help
./rest-api --help
- viewing routes
./rest-api --routes
- run on a different port or host
./rest-api -b 0.0.0.0 -p 80