Skip to content

0xBLCKLPTN/MemoreDB

Repository files navigation

Memore

Memory-Cache service for Kingdom-System project.

Usage

Manually start server

user@machine %: iex -S mix

alt text

Connect to server and manipulate with him

user@machine %:telnet 127.0.0.1 4040

alt text

Commands:

GET, PUT, DELETE, CREATE

Example:

user@machine %: telnet 127.0.0.1 4040
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.

CREATE shopping_list

PUT shopping_list milk 1
PUT shopping_list name 'Andrey'

GET shopping_list milk
GET shopping_list name

DELETE shopping_list milk
DELETE shopping_list name

Dockerize:

docker build -t MemoreApplication .
docker run -dp 127.0.0.1:4040:4040 MemoreApplication

Tests

All checks have now been passed

Finished in 0.1 seconds (0.06s async, 0.06s sync)
8 doctests, 2 tests, 1 failure

TODO:

  • ci/cd
  • docker image
  • gen_tcp server
  • write docmodules
  • write normal README.md

About

Mem-cache application like a redis but written on Elixir

Resources

License

Stars

Watchers

Forks

Packages

No packages published