No description or website provided.
JavaScript
Latest commit fd26898 Nov 5, 2012 @rmurphey adding MIT license
Permalink
Failed to load latest commit information.
app improving docs May 29, 2012
assets server builds and css optimization working Apr 9, 2012
bin
lib search form component Apr 6, 2012
server
tests
.gitignore nodejitsu doesn't like 'build' directory Apr 27, 2012
.npmignore add nmpignore Apr 29, 2012
LICENSE.md adding MIT license Nov 5, 2012
README.md clearer readme re node install May 13, 2012
package.json nodejitsu doesn't like 'build' directory Apr 27, 2012
srchr.build.js nodejitsu doesn't like 'build' directory Apr 27, 2012

README.md

Srchr

This app searches Flickr and Youtube for content based an a search term entered by a user. It is intended as a demo of techniques for building client-side apps. It uses a variety of technologies, including:

Running the app

  1. Install node. You can follow the instructions here, or use Homebrew on a Mac: brew install node.
  2. Run npm install from the root directory of this project to load the dependencies.
  3. Copy server/config.js.example to server/config.js and update with your API key(s) if you'd like. Currently, only the Youtube search will work without a key.
  4. To run the development server: node bin/dev
  5. Visit the app in your browser.

Running the tests

When the development server is running, you can run the tests here.

Building the app

You will need to have RequireJS installed:

npm install -g requirejs

Then, from the root of the project, run the following commands:

r.js -o srchr.build.js
r.js -o cssIn=assets/css/srchr.css out=prod/assets/css/srchr.css

You can run the built version of the app by running:

node bin/server

TODOs

  • Make it possible to favorite items
  • Make it possible to tag favorites
  • Incorporate other content sources
  • Use grunt