Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/catkins/angular-fire-harp
https://github.com/catkins/angular-fire-harp
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/catkins/angular-fire-harp
- Owner: catkins
- Created: 2014-08-14T23:57:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-24T23:19:47.000Z (over 10 years ago)
- Last Synced: 2024-10-19T22:30:58.782Z (2 months ago)
- Language: CoffeeScript
- Size: 176 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### AngularFire on Harp
Some experiments with [AngularFire](https://www.firebase.com/docs/web/libraries/angular/index.html) + [HarpJS](http://harpjs.com) to create statically compileable applications with a realtime backend.
#### Prerequisites
* NodeJS
* A developer app on Firebase.com (free hacker plan)#### Development
```bash
# pull down the repo
git clone [email protected]:catkins/angular-fire-harp.git# make sure you have harp and bower installed
sudo npm install -g harp bower# pull the dependencies
npm install
bower install# Create an developer app at firebase.com and export the url
export FIREBASE_URL='https://your-app.firebaseio.com/whatever'# start the harpjs server
harp server
```You can now visit your local harp application at [http://localhost:9000](http://localhost:9000)
#### Environment variables
I use [direnv](http://direnv.net/) to manage project specific environment variables without cluttering up `~/.profile`.
```bash
# .envrc
export FIREBASE_URL='https://your-app.firebaseio.com/whatever'
```