Skip to content

r0k3/backbone-full-stack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Todo App (with Backbone.js, Require.js, Flask, and MongoDB)

This is an extension of the Todos app included in the Backbone.js repository, by Jérôme Gravel-Niquet.

The App demonstrates how to integrate several technologies together beyond what is done in the original, and gives an idea of how to put together a full stack app.

  • Backbone.js - Client side framework.
  • Require.js - Async resource loading.
  • Flask - A simple python webapp to provide a REST interface.
  • MongoDB - Persistance for the client app.

The markup for the client app has also been moved server side, and is fetched as needed via jQuery.ajax.

The app runs with a single MongoDB node, but scripts are provided to show how a replicated setup works as well.

Setup:

virtualenv env --no-site-packages
source env/bin/activate
pip install -r requirements.txt
mkdir data
mongod --dbpath=data/ --fork --logpath=data/mongod.log
python app/server.py
http://localhost:5000/

Backlog:

  • require.js optimizer
  • client side automated tests with jasmine
  • serving client side assets from CDN

About

A full stack extension of the backbone.js todos example app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published