Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.68 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.68 KB

oilcol-emergency-collection

Erlang based application for processing incoming requests from Emergency Sensors

Simple Paperboy-themed PubSub on top of REST+SSE.

You can find a blog post about this app in our Inaka's Blog :)

⚠️ DISCLAIMER ⚠️

This is canillita v2, if you're looking for v1 switch to branch v1 or tag 1.0 :)

Introduction

Canillita provides a RESTful API that allow us to manage news by newspaper and every time a news item is published, the listeners get a notification with it.

Tests

You can run the tests executing make tests in the root folder of the app.

The Server

In order to run this application you need to execute the following commands:

# Create release
$ make rel
# Run server
$ _rel/canillita/bin/canillita console

After that you're just good to go.

Or you can download a compiled app from the latest release.

RESTful API

After starting the server you can go to http://localhost:4892/api-docs and it will give you a nice and practical documentation for Canillita thanks to cowboy-swagger and cowboy-trails.


Contact Us

For questions or general comments regarding the use of this project, please use our public hipchat room.

If you find any bugs or have a problem while using this project, please open an issue in this repo (or a pull request :)).

And you can check all of our open-source projects at inaka.github.io