Skip to content

Latest commit

 

History

History
87 lines (64 loc) · 2.6 KB

README.rst

File metadata and controls

87 lines (64 loc) · 2.6 KB

Exon 2 Travis CI build on Master branch Made in Elixir MIT License Dependencies status

Exon is a “mess manager” developed in Elixir and provides a simple API to manage & document your stuff. And by that I mean "physical stuff".

About the clients

The specs are located here. Please tell me if something went wrong during their implementation.

About the server

http://i.imgur.com/1yCKF0n.png

Running the server.

(export MIX_ENV=prod)

  1. Edit the config file ) according to your needs.
  2. mix do deps.get, compile
  3. mix ecto.migrate
  4. iex -S mix or iex -S mix phx.server to enable the WebUI
  5. ???
  6. Enjoy.

Logging

For the moment (16/09/2016), partial logging on disk is done, at log/exon.log. It contains the date + hour of the operation, the result (success/failure) and the client's username + hostname/IP address.

What should be done

  • Authentication
  • Writing tests.
  • Make it more CRUD
    • For the moment, every comment and item are stored ad vitam æternam
  • A search functionality
    • Use LIKE.

Authentication

An authenticated user can register items with their name, and are able to remove items.

TODO:

  • In case of repetedly login failure, activate a timeout and a ban.

Trivia

{:ok, socket} = :gen_tcp.connect {127,0,0,1}, 8878, [:binary, active: false] :ok = :gen_tcp.send(socket, "id 324234n") {:ok, json} = :gen_tcp.recv(socket, 0)