Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rethinkdb/rethinkdb-example-bottle-ember-todo
A canonical ember.js todo application running on bottle and RethinkDB
https://github.com/rethinkdb/rethinkdb-example-bottle-ember-todo
Last synced: 2 months ago
JSON representation
A canonical ember.js todo application running on bottle and RethinkDB
- Host: GitHub
- URL: https://github.com/rethinkdb/rethinkdb-example-bottle-ember-todo
- Owner: rethinkdb
- Created: 2013-02-07T21:31:04.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-10-12T21:14:46.000Z (over 9 years ago)
- Last Synced: 2024-04-14T14:50:01.150Z (9 months ago)
- Language: CSS
- Size: 505 KB
- Stars: 16
- Watchers: 26
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-rethinkdb - Todo in Ember with RethinkDB
README
# What is it #
A demo web application in the spirit of [TodoMVC](http://todomvc.com/) 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 #
* [Bottle](http://bottlepy.org/)
* [Ember (v1.0.0-pre.4-9-g6f709b0)](http://emberjs.com)
* [RethinkDB](http://www.rethinkdb.com)# 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](http://www.rethinkdb.com/docs/install/).
# 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: .
# License #
This demo application is licensed under the MIT license: