Install dependencies with mix deps.get
Run locally with mix phx.server
It is not permissible to save an item with empty description
Priority must only allow the values (Low, Medium and High)
Once an item is completed, it can not be unchecked and marked as not completed
Run Tests
mix test
Create with valid description, priority, is_completed
Update with valid description, priority, is_completed
Create with invalid description, priority, is_completed
Update with invalid description, priority, is_completed
Create database with initdb todo_dev
Start database with pg_ctl -D todo_dev start
Stop database with pg_ctl -D todo_dev stop
Create postgres user allowed to create databases with createuser -d postgres
Create database with with mix ecto.create
Generate controller, views, and context with mix phx.gen.html Todos Todo_repo todos description:string priority:string is_completed:boolean
Migrate your database with mix ecto.migrate