https://github.com/zpratt/spike-playground
Experimenting with react as the view layer for backbone.
https://github.com/zpratt/spike-playground
Last synced: about 1 year ago
JSON representation
Experimenting with react as the view layer for backbone.
- Host: GitHub
- URL: https://github.com/zpratt/spike-playground
- Owner: zpratt
- Created: 2014-01-10T03:33:41.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-22T04:00:52.000Z (over 11 years ago)
- Last Synced: 2025-02-05T22:43:37.226Z (over 1 year ago)
- Language: JavaScript
- Size: 1.01 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
spike-react-backbone
====================
Experimenting with react as the view layer for backbone.
Also, experimenting with d3 and google maps.
## To view examples:
* [react+backbone example](http://zpratt.github.io/spike-playground/index.html)
* [react+google maps example](http://zpratt.github.io/spike-playground/experiment.html)
* [svg boundary + google maps example](http://zpratt.github.io/spike-playground/map.html)
* [svg boundary + as a list](http://zpratt.github.io/spike-playground/boundary-list.html)
* [quadtree example](http://zpratt.github.io/spike-playground/quadtree.html)
## To run locally:
### Prerequisite to run all examples locally:
1. npm install
2. bower install
### To checkout the react/backbone example:
1. start up the local server with `node_modules/.bin/http-server`
2. open a browser and visit the [http://localhost:8080/index.html](http://localhost:8080/index.html)
### To run the google maps/d3 example:
1. start up the local server with `node_modules/.bin/http-server`
2. open a browser and visit the [http://localhost:8080/map.html](http://localhost:8080/map.html)
## Note:
* The google maps API key will only work from localhost:8080