Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/topfunky/node.couchapp.backbone.demo
Demo application using Node.js, CouchDB and Backbone.js. For the Seattle Backbone.js meetup.
https://github.com/topfunky/node.couchapp.backbone.demo
Last synced: 11 days ago
JSON representation
Demo application using Node.js, CouchDB and Backbone.js. For the Seattle Backbone.js meetup.
- Host: GitHub
- URL: https://github.com/topfunky/node.couchapp.backbone.demo
- Owner: topfunky
- Created: 2012-07-10T21:10:32.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-07-10T22:31:32.000Z (over 12 years ago)
- Last Synced: 2024-04-15T14:13:24.941Z (7 months ago)
- Language: JavaScript
- Size: 716 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CouchDB app and Backbone.js demo
A demo for the [Seattle Backbone.js meetup](http://www.meetup.com/seattle-backbone/).
This code shows how to use Node.js and CouchDB to serve JavaScript client-side applications. This application uses no authentication or security. Use Basic Auth or some other method if you plan to deploy these kinds of applications to the public.
## Installation
[Download](http://couchdb.apache.org/), install, and start the CouchDB server.
Use the CouchDB browser-based console to create a CouchDB dataabase named `time_track_demo`.
Install dependencies:
npm install
Then:
./bin/push
Optionally, bundle client side assets to `attachments/js/default.js` with:
./bin/build
## The Code
Public client-side code is in the `attachments` directory.
CouchDB views are in the `views.js` file.
Overall configuration is in `app.js`.
## TODO
* Generate a single client-side JavaScript file from Backbone dependencies: `attachments/js/default.js`
* Generate stylesheets from SASS or Stylus.
* Compile from CoffeeScript?
* Use newer Backbone.js for the demo application
* Remove unused frameworks in `attachments`.