elm-todo-rest-api
elm-todo-rest-api copied to clipboard
Github Pages demo site using JSONPlaceholder
Set up a gh-pages branch with a demo site.
Use programWithFlags along with webpack environment variables to substitute the local endpoint for http://jsonplaceholder.typicode.com/todos
. It mostly works as-is, except (1) it isn't persistent, (2) POSTs always return the same id, so only one todo can be created, and (3) it's pretty slow. Better than nothing though.