Skip to content

gabrielecanepa/ruby-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby To-Do App

A simple repo to demonstrate the MVC pattern with a command line app.

Run with:

ruby lib/app.rb

Then hit Ctrl-C to quit the program. You'll lose all your todos!

Architecture

  • Model: Task
  • View: TasksView
  • Controller: TasksController

We fake the database with TasksRepository and the browser with Router.