An open API service indexing awesome lists of open source software.

https://github.com/gabrielecanepa/ruby-todo

Simple to-do app using the MVC pattern @lewagon
https://github.com/gabrielecanepa/ruby-todo

mvc mvc-pattern ruby ruby-example ruby-exercises

Last synced: over 1 year ago
JSON representation

Simple to-do app using the MVC pattern @lewagon

Awesome Lists containing this project

README

          

## Ruby To-Do App

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

Run with:

```bash
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`.