├── .dockerignore ├── .gitattributes ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .vscode ├── settings.json └── tasks.json ├── Dockerfile ├── README.md ├── fly.toml ├── gleam.toml ├── manifest.toml ├── priv └── static │ ├── assets │ ├── favicon.ico │ ├── gleam-logo.jpg │ └── main.css │ └── vendor │ └── htmx.min.js ├── src ├── todomvc.gleam ├── todomvc │ ├── database.gleam │ ├── error.gleam │ ├── item.gleam │ ├── router.gleam │ ├── templates │ │ ├── completed_cleared.gleam │ │ ├── completed_cleared.matcha │ │ ├── home.gleam │ │ ├── home.matcha │ │ ├── item.gleam │ │ ├── item.matcha │ │ ├── item_changed.gleam │ │ ├── item_changed.matcha │ │ ├── item_created.gleam │ │ ├── item_created.matcha │ │ ├── item_deleted.gleam │ │ └── item_deleted.matcha │ ├── user.gleam │ └── web.gleam └── todomvc_ffi.erl └── test ├── todomvc ├── item_test.gleam ├── routes_test.gleam ├── tests.gleam └── user_test.gleam ├── todomvc_test.gleam └── todomvc_test_helper.erl /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.beam 2 | *.ez 3 | *.sqlite3 4 | build 5 | erl_crash.dump 6 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.associations": {"*.matcha": "html"} 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/Dockerfile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/README.md -------------------------------------------------------------------------------- /fly.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/fly.toml -------------------------------------------------------------------------------- /gleam.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/gleam.toml -------------------------------------------------------------------------------- /manifest.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/manifest.toml -------------------------------------------------------------------------------- /priv/static/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/priv/static/assets/favicon.ico -------------------------------------------------------------------------------- /priv/static/assets/gleam-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/priv/static/assets/gleam-logo.jpg -------------------------------------------------------------------------------- /priv/static/assets/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/priv/static/assets/main.css -------------------------------------------------------------------------------- /priv/static/vendor/htmx.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/priv/static/vendor/htmx.min.js -------------------------------------------------------------------------------- /src/todomvc.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc.gleam -------------------------------------------------------------------------------- /src/todomvc/database.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/database.gleam -------------------------------------------------------------------------------- /src/todomvc/error.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/error.gleam -------------------------------------------------------------------------------- /src/todomvc/item.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/item.gleam -------------------------------------------------------------------------------- /src/todomvc/router.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/router.gleam -------------------------------------------------------------------------------- /src/todomvc/templates/completed_cleared.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/completed_cleared.gleam -------------------------------------------------------------------------------- /src/todomvc/templates/completed_cleared.matcha: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/completed_cleared.matcha -------------------------------------------------------------------------------- /src/todomvc/templates/home.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/home.gleam -------------------------------------------------------------------------------- /src/todomvc/templates/home.matcha: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/home.matcha -------------------------------------------------------------------------------- /src/todomvc/templates/item.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/item.gleam -------------------------------------------------------------------------------- /src/todomvc/templates/item.matcha: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/item.matcha -------------------------------------------------------------------------------- /src/todomvc/templates/item_changed.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/item_changed.gleam -------------------------------------------------------------------------------- /src/todomvc/templates/item_changed.matcha: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/item_changed.matcha -------------------------------------------------------------------------------- /src/todomvc/templates/item_created.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/item_created.gleam -------------------------------------------------------------------------------- /src/todomvc/templates/item_created.matcha: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/item_created.matcha -------------------------------------------------------------------------------- /src/todomvc/templates/item_deleted.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/item_deleted.gleam -------------------------------------------------------------------------------- /src/todomvc/templates/item_deleted.matcha: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/templates/item_deleted.matcha -------------------------------------------------------------------------------- /src/todomvc/user.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/user.gleam -------------------------------------------------------------------------------- /src/todomvc/web.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc/web.gleam -------------------------------------------------------------------------------- /src/todomvc_ffi.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/src/todomvc_ffi.erl -------------------------------------------------------------------------------- /test/todomvc/item_test.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/test/todomvc/item_test.gleam -------------------------------------------------------------------------------- /test/todomvc/routes_test.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/test/todomvc/routes_test.gleam -------------------------------------------------------------------------------- /test/todomvc/tests.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/test/todomvc/tests.gleam -------------------------------------------------------------------------------- /test/todomvc/user_test.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/test/todomvc/user_test.gleam -------------------------------------------------------------------------------- /test/todomvc_test.gleam: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/test/todomvc_test.gleam -------------------------------------------------------------------------------- /test/todomvc_test_helper.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gleam-lang/example-todomvc/HEAD/test/todomvc_test_helper.erl --------------------------------------------------------------------------------