Model Bank

To Do List

· admin

This model is among the simplest that you could create with Data UI. It consists of 61 lines of code, but provides a deployable, full RBAC application that would otherwise take 20K lines of standard code (say Java + React + shell + manifests) to build.

To Do List
To Do List
To Do List
To Do List
To Do List
To Do List
To Do List
To Do List
To Do List
To Do List
To Do List
To Do List
Model Code
'(:title "To Do List" :name "todos" :version "0.1" :domain "todo.demo.data-ui.com" :domain-stg "todo-stg.demo.data-ui.com" :repl t :guest-allowed t :guest-auto nil :api-roles ("logged-in" "public") :landing-page :todos :types (:todos (:table t :create :auto :update :auto :delete :auto :display t :type-roles ("todo-users" "public") :default-sort (:name :asc) :views (:main (:tables (:todos :todo-tags :tags)) :tags (:tables (:tags))) :fields (:name (:type :text :identity t :sortable t :searchable t :ui (:label "To Do" :widget :textbox) :validations (:required (:max-length :max 19)) :source (:view :main :column :name :agg :first) :column t :not-null t :unique t) :done (:type :boolean :default :false :sortable t :ui (:label "Done" :widget :checkbox) :source (:view :main :column :done :agg :first) :column t :not-null t) :tags (:type :list :ui (:label "Tags" :widget :checkbox-list) :validations (:join-items-exist) :source (:view :main :table :tags :column :name :agg :distinct) :source-all (:view :tags :table :tags :column :name :agg :list) :join-table :todo-tags)) :list-form (:fields t) :update-form (:fields t) :add-form (:fields t)) :tags (:table t :create :auto :update :auto :delete :auto :display t :type-roles ("todo-users" "public") :fields (:name (:type :text :identity t :sortable t :ui (:label "Tag" :widget :textbox) :validations (:required) :source (:view :main :table :tags :column :name :agg :first) :column t :not-null t :unique t)) :list-form (:fields t) :update-form (:fields t) :add-form (:fields t)) :todo-tags (:table t :is-joiner t :internal t :fields (:reference (:target :todos) :reference (:target :tags))) :users (:type-roles ("logged-in" "public" "user-creator")) :roles (:type-roles ("logged-in" "public" "role-creator")) :permissions (:type-roles ("logged-in" "public" "permission-creator"))))
Rating
5.0
Deploy Model Status
idle
Generate Model Status
idle
Owner
admin
Images
/todos.png, /todos-mvp.png, /todos-mvp-compiler.png, /todos-tags.png, /todos-tags-sorted.png, /todos-users.png, /todos-roles.png, /todos-roles-create.png, /todos-permissions.png, /todos-settings.png, /todos-secrets.png, /todos-login.png