Skip to content
forked from PlaceOS/rest-api

PlaceOS control and management API.

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.md
Unknown
LICENSE-AUS.html
Notifications You must be signed in to change notification settings

tassja/rest-api

 
 

Repository files navigation

PlaceOS REST API

Build Dev Image CI

Testing

With Docker

  • $ ./test (tear down the docker-compose environment)
  • $ ./test --watch (only run tests on changes to src and spec folders)
  • $ docker-compose down when you are done!

Without Docker

  • crystal spec to run tests

Dependencies

  • Elasticsearch ~> v7.2
  • RethinkDB ~> v2.4
  • Etcd ~> v3.3
  • Redis ~> v5

Dependencies

Compiling

crystal build ./src/rest-api.cr

Deploying

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

About

PlaceOS control and management API.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.md
Unknown
LICENSE-AUS.html

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Crystal 90.9%
  • HTML 7.8%
  • Other 1.3%