https://github.com/junekelly/mnesia-todo
A simple demo of using Mnesia in Elixir, to implement a todo-list
https://github.com/junekelly/mnesia-todo
Last synced: 11 months ago
JSON representation
A simple demo of using Mnesia in Elixir, to implement a todo-list
- Host: GitHub
- URL: https://github.com/junekelly/mnesia-todo
- Owner: JuneKelly
- Created: 2018-12-28T14:22:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-28T14:23:03.000Z (over 7 years ago)
- Last Synced: 2025-02-26T11:36:24.209Z (over 1 year ago)
- Language: Elixir
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mnesia-Todo
A simple demo of Elixir and Mnesia, implementing a todo-list.
## Running
```shell
$ iex -S mix
```
## Example
```elixir
key = Todo.add("wash the dishes")
# = >"L33DAXT3KLW7BBT6"
Todo.show(key)
Todo.done(key)
Todo.archive(key)
Todo.list()
Todo.list(all: true)
```