https://github.com/rokf/plug_todo_example
:books: An Elixir Plug & GenServer driven TODO list example
https://github.com/rokf/plug_todo_example
elixir genserver plug todolist
Last synced: 6 days ago
JSON representation
:books: An Elixir Plug & GenServer driven TODO list example
- Host: GitHub
- URL: https://github.com/rokf/plug_todo_example
- Owner: rokf
- Created: 2017-03-17T15:19:40.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-17T21:08:19.000Z (over 9 years ago)
- Last Synced: 2025-09-19T19:25:37.698Z (10 months ago)
- Topics: elixir, genserver, plug, todolist
- Language: Elixir
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Plug TODO Example
This is an example Elixir project.
It is made of a Plug server which speaks to a GenServer storage instance.
Together they build a tiny REST TODO app.
Install dependencies with `mix deps.get` and run with `make` or `mix run --no-halt`.
`curl` client example:
- add - `curl -X GET "localhost:8080/add?txt=Something"`
- remove - `curl -X GET "localhost:8080/remove?index=2"`
- get state - `curl -X GET "localhost:8080/state"`
Consider this a work in progress although the basic thing I imagined works. I need to add coments, clean stuff up and I'll maybe add some more stuff.