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
- Host: GitHub
- URL: https://github.com/gabrielecanepa/ruby-todo
- Owner: gabrielecanepa
- Created: 2020-01-17T10:44:58.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-17T09:31:00.000Z (over 6 years ago)
- Last Synced: 2025-01-30T09:42:02.812Z (over 1 year ago)
- Topics: mvc, mvc-pattern, ruby, ruby-example, ruby-exercises
- Language: Ruby
- Homepage: https://lewagon.com
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.