Skip to content

About

A canonical ember.js todo application running on bottle and RethinkDB

Resources

Stars

16 stars

Watchers

21 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

What is it

A demo web application in the spirit of TodoMVC showing how to use RethinkDB as a backend for Bottle and Ember.js applications.

As any todo application, this one implements the following functionality:

  • Managing database connections
  • List existing todos
  • Create new todo
  • Retrieve a single todo
  • Edit a todo or mark a todo as done
  • Delete a todo

Open issues: when editing a todo, a PUT request is sent after each typed character. This could be improved to send a request is only once when Enter is pressed (pull requests welcome!)

Complete stack

Installation

git clone git://github.com/rethinkdb/rethinkdb-example-bottle-ember-todo.git
pip install bottle
pip install rethinkdb

Note: If you don't have RethinkDB installed, you can follow these instructions to get it up and running.

Running the application

Firstly we'll need to create the database todoapp (you can override the name of the database by setting the TODO_DB env variable) and the table used by this app: todos. You can do this by running:

python todo.py --setup

Running the Bottle application is as simple as:

python todo.py

Then open a browser: http://localhost:5000/.

License

This demo application is licensed under the MIT license: http://opensource.org/licenses/mit-license.php

About

A canonical ember.js todo application running on bottle and RethinkDB

Resources

Stars

16 stars

Watchers

21 watching

Forks

Releases

Packages

Used by

Contributors

Languages